You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
direnv scaffold: nix flake metadata .path is not realised on Nix 2.35 (install.sh, consumer ci.yml) #2039
The container-free scaffold (#1871) gets the devkit source with nix flake metadata --json github:vig-os/devkit/<tag> | jq -er .path and then copies $src/assets. On Nix 2.35 (cachix/install-nix-action currently installs 2.35.2), flake metadata reports the source store path without realising it. The copy then fails:
info: Fetching devkit 1.19.0-rc2 via nix...
cp: cannot stat '/nix/store/p0np527w6bvqx48b2k98cf2n9mviwync-source/assets': No such file or directory
error: Could not prepare the devkit assets from the flake source
This failed the Direnv Smoke lane of the 1.19.0-rc2 smoke test. It blocks 1.19.0.
Evidence (each against a fresh, empty --store)
Nix 2.35.3, flake metadata --json … | jq .path: path reported, nix path-info says path … is not valid, and there is no assets/.
Nix 2.34.8, same command: path realised, assets/ present.
Activity
docs(changelog): move #2039 entry into the 1.19.0 section
fix: realise direnv scaffold sources with flake prefetch (#2040)
chore: release 1.19.0 (#2033)