nix-installer
nix-installer copied to clipboard
Fix fish support on ostree
Description
Closes #707
Checklist
- [x] Formatted with
cargo fmt - [ ] Built with
nix build - [ ] Ran flake checks with
nix flake check - [ ] Added or updated relevant tests (leave unchecked if not applicable)
- [ ] Added or updated relevant documentation (leave unchecked if not applicable)
- [ ] Linked to related issues (leave unchecked if not applicable)
Validating with install.determinate.systems
If a maintainer has added the upload to s3 label to this PR, it will become available for installation via install.determinate.systems:
curl --proto '=https' --tlsv1.2 -sSf -L https://install.determinate.systems/nix/pr/$PR_NUMBER | sh -s -- install
Unfortunately this doesn't work: the plan says to create the directory, then the planning phase detects the directory doesn't exist (yet) and decides to not install it. Hrm.
I believe that is because of
https://github.com/DeterminateSystems/nix-installer/blob/a026cc2224ec2cc7aa5d53c542521eb0cea1ad37/src/action/common/configure_shell_profile.rs#L83-L86
Perhaps that should happen at execute time.
Marking this as a draft based on this previous comment: https://github.com/DeterminateSystems/nix-installer/pull/711#issuecomment-1803062901.