forked from DeterminateSystems/nix-installer
-
-
Notifications
You must be signed in to change notification settings - Fork 6
Closed
Description
Note
This is a copy of DeterminateSystems#1672
Since the component split of Nix 2.29, /nix/store
may now contain multiple paths matching the nix-*
glob used here:
let nix_pkg_glob = format!("{}/nix-*/store/*-nix-*.*.*", unpacked_path.display()); |
This creates issues when the first result is a component's store path (like nix-main
) that does not contain a binary, which can happen in release tarballs like the Linux one from this upstream CI run
Thankfully this is currently limited to users manually setting --nix-package-url
- as it doesn't seem this case has ever hit the release tarballs bundled with the installer - but I wouldn't be surprised if this would affect development later down the line...
I discovered this by implementing this installer into Nix's dogfed installer tests in NixOS/nix#14002
Metadata
Metadata
Assignees
Labels
No labels