Monorepo for Tangled — https://tangled.org

Nix build failure for knot #264

closed
opened by pimk.tngl.sh

Currently the Nix build of knot (nix build git+https://tangled.org/@tangled.org/core#knot) is failing for me with:

❯ nix log /nix/store/24nkxm713lb536s53z3d2s161zx1b7fr-knot-1.9.1-alpha.drv
Running phase: unpackPhase
@nix { "action": "setPhase", "phase": "unpackPhase" }
unpacking source archive /nix/store/fx6z9bdr03bd9px2r9p8fplf5h7gp4by-source
source root is source
Running phase: patchPhase
@nix { "action": "setPhase", "phase": "patchPhase" }
Running phase: updateAutotoolsGnuConfigScriptsPhase
@nix { "action": "setPhase", "phase": "updateAutotoolsGnuConfigScriptsPhase" }
Running phase: configurePhase
@nix { "action": "setPhase", "phase": "configurePhase" }
Running phase: buildPhase
@nix { "action": "setPhase", "phase": "buildPhase" }
Building subPackage ./cmd/knot
log/log.go:8:2: cannot find module providing package github.com/charmbracelet/log: import lookup disabled by -mod=vendor

I bisected it and it seems this is the first bad commit:

e217fc41480a6716835e2dc45895b5aa91d6b73c is the first bad commit
commit e217fc41480a6716835e2dc45895b5aa91d6b73c
Author: Anirudh Oppiliappan <anirudh@tangled.org>
Date:   Sat Oct 4 09:27:41 2025 +0300

    appview/pages/markup: add support for callouts

    Signed-off-by: Anirudh Oppiliappan <anirudh@tangled.org>

 appview/pages/funcmap.go          |  8 ++--
 appview/pages/markup/markdown.go  |  7 +++-
 appview/pages/markup/sanitizer.go |  3 ++
 appview/pages/pages.go            |  7 ++--
 go.mod                            |  1 +
 go.sum                            |  2 +
 input.css                         | 83 +++++++++++++++++++++++++++++++++------
 7 files changed, 91 insertions(+), 20 deletions(-)

thanks for the report! this was caused by a bad merge to master, should be all okay now!

if you are considering hosting a knot however, i'd recommend pinning to the most recent ref instead (v1.9.1-alpha at time of writing).

Thanks for the suggestion, will try that!

sign up or login to add to the discussion
Labels

None yet.

area

None yet.

assignee

None yet.

Participants 2
AT URI
at://did:plc:b5yqalkdy2fg57cl3gaovivt/sh.tangled.repo.issue/3m2zaqbgkzg22