1
1
Fork 0
mirror of https://github.com/NixOS/nix.git synced 2025-11-08 19:46:02 +01:00
nix/scripts
Jean-François Roche a408bc3e30 installer: prepend nix paths to shell config files instead of appending
Some distribution will stop evaluating the shell config file if
they are not running in an interactive shell. As we append the nix
paths to the end of the file, they will not be evaluated.

We better prepend the nix paths to the shell config files to be sure
that once nix is installed, nix path will be available in any shell.

Note that this is already the case for the detsys installer script for
a while: https://github.com/DeterminateSystems/nix-installer/pull/148

Possibly related errors:

https://github.com/NixOS/nix/issues/8061
https://github.com/NixOS/nix/pull/6628
https://github.com/NixOS/nix/issues/2587
2025-09-19 14:06:06 +02:00
..
bigsur-nixbld-user-migration.sh Merge pull request #10919 from abathur/macos_sequoia_fixes 2024-09-03 19:55:55 -04:00
create-darwin-volume.sh Disable suid and atime on the /nix mount point on Darwin 2024-12-05 14:01:00 -05:00
install-darwin-multi-user.sh scripts/install-darwin-multi-user: workaround dscl failing sometimes 2025-01-08 18:03:50 +01:00
install-freebsd-multi-user.sh add freebsd multi-user installer 2025-08-08 09:10:35 +02:00
install-multi-user.sh installer: prepend nix paths to shell config files instead of appending 2025-09-19 14:06:06 +02:00
install-nix-from-tarball.sh add freebsd multi-user installer 2025-08-08 09:10:35 +02:00
install-systemd-multi-user.sh fix: make sure directory exists before using ln 2024-10-31 16:25:18 +01:00
meson.build meson: Apply formatting universally 2025-08-07 02:58:29 +03:00
nix-profile-daemon.fish.in Merge pull request #13245 from stefanboca/sb/push-yoorqzwsxmzn 2025-05-26 00:14:40 +02:00
nix-profile-daemon.sh.in nix-daemon: source nix-profile-daemon.sh only once 2025-03-29 20:23:16 +01:00
nix-profile.fish.in Merge pull request #13245 from stefanboca/sb/push-yoorqzwsxmzn 2025-05-26 00:14:40 +02:00
nix-profile.sh.in nix-profile.sh.in: fix envvar condition 2024-09-19 07:20:04 +03:00
sequoia-nixbld-user-migration.sh sequoia-nixbld-user-migration: nail down PATH 2025-01-15 08:59:14 -06:00