nix run from the release notes fails: tag ref and missing flake.lock #45
Labels
No labels
area/ci
area/desktop
area/packaging
area/protocol
area/reading
area/ui
area/web
area/writing
kind/bug
kind/feature
kind/infra
kind/request
needs/user
parked
perf
security
upstream
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
littlefox/neokom#45
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
User report:
nix run "git+https://forge.lysator.liu.se/littlefox/neokom?ref=v0.1.0"fails with "Failed to fetch git repository".Reproduced in nixos/nix (Nix 2.35.3):
ref=v0.1.0is looked up asrefs/heads/v0.1.0; a tag needsref=refs/tags/v0.1.0.Fix: commit flake.lock, correct the release notes, and make the nix CI job fail when the lock is missing or stale.
Merged in #46 and released in v0.1.1. Verified in nixos/nix (Nix 2.35.3): building from the git URL of the fix branch works with no flags; v0.1.0 builds with --no-write-lock-file. CI: the nix job now builds with --no-update-lock-file, and tools/check-version.sh checks the five version files.