1
0
Fork 0
mirror of https://github.com/NixOS/nix synced 2025-06-24 13:51:16 +02:00
nix/scripts
Stefan Boca b9ed3ae36e
nix-profile{,-daemon}.fish: fix do not source twice
Commit b36637c8f7 set
`__ETC_PROFILE_NIX_SOURCED` globally, but this is not enough to prevent
the script from being run again by child shells, because the
variable was not exported and thus not inherited by any child process.
Exporting the variable also agrees with the bash scripts.

Notably, the old behavior broke `nix develop -c fish` in some cases,
because the profile bin directory got prepended to the path, causing
binaries from the profile to override binareis from the devshell.
2025-05-21 11:29:47 -07:00
..
bigsur-nixbld-user-migration.sh Merge pull request #10919 from abathur/macos_sequoia_fixes 2024-09-03 19:55:55 -04:00
build-checks speed up ci by splitting off eval and build 2024-12-14 12:07:35 +01: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-multi-user.sh scripts/install-multi-user: fix typo 2025-01-13 14:12:41 +05:30
install-nix-from-tarball.sh Allow sudo alternatives when installing from tarball 2024-12-01 14:36:58 +03:00
install-systemd-multi-user.sh fix: make sure directory exists before using ln 2024-10-31 16:25:18 +01:00
meson.build Remove dead code in the Meson build system 2024-10-09 11:07:15 -04:00
nix-profile-daemon.fish.in nix-profile{,-daemon}.fish: fix do not source twice 2025-05-21 11:29:47 -07: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 nix-profile{,-daemon}.fish: fix do not source twice 2025-05-21 11:29:47 -07:00
nix-profile.sh.in nix-profile.sh.in: fix envvar condition 2024-09-19 07:20:04 +03:00
prepare-installer-for-github-actions installer: make sure we can always test the installer in ci and locally 2024-12-15 18:17:15 +01:00
sequoia-nixbld-user-migration.sh sequoia-nixbld-user-migration: nail down PATH 2025-01-15 08:59:14 -06:00
serve-installer-for-github-actions installer: make sure we can always test the installer in ci and locally 2024-12-15 18:17:15 +01:00