nix/scripts
Cole Helbling f53b3c8c14 Check if NIX_LINK_NEW exists instead of checking that NIX_LINK doesn't exist
For brand new installations, neither NIX_LINK_NEW
(`$XDG_STATE_HOME/nix/profile` or `~/.local/state/nix/profile`), nor
NIX_LINK (`~/.nix-profile`) will exist.

This restores functionality to nix-env, which is relied upon by GitHub
Actions such as https://github.com/cachix/cachix-action and the Nixpkgs
EditorConfig (and other) CI.

(cherry picked from commit 2b801d6e3c)
2023-03-01 22:02:05 +00:00
..
bigsur-nixbld-user-migration.sh fix nixbld user name/uid for macOS 2021-03-11 10:16:34 -06:00
check-hydra-status.sh curl: Use --fail to catch errors 2022-04-06 13:34:25 +02:00
create-darwin-volume.sh darwin-install: work around existing vim swapfiles 2022-06-01 09:41:00 -05:00
install-darwin-multi-user.sh darwin-install: fix shell hint 2022-08-23 19:38:53 -04:00
install-multi-user.sh A setting to follow XDG Base Directory standard 2023-02-10 20:14:06 +04:00
install-nix-from-closure.sh A setting to follow XDG Base Directory standard 2023-02-10 20:14:06 +04:00
install-systemd-multi-user.sh Add escape for systemd service in installer script 2023-01-14 03:46:11 +08:00
install.in fix uname -m return value for armv6l/armv7l 2022-09-20 15:36:36 +09:00
local.mk Add fish suport to installer 2022-09-13 12:56:16 -04:00
nix-profile-daemon.fish.in Fix Nix installation on older versions of fish 2023-01-03 21:14:01 +01:00
nix-profile-daemon.sh.in Check if NIX_LINK_NEW exists instead of checking that NIX_LINK doesn't exist 2023-03-01 22:02:05 +00:00
nix-profile.fish.in Fix Nix installation on older versions of fish 2023-01-03 21:14:01 +01:00
nix-profile.sh.in Check if NIX_LINK_NEW exists instead of checking that NIX_LINK doesn't exist 2023-03-01 22:02:05 +00:00
prepare-installer-for-github-actions Apply some shellcheck suggestions 2021-11-19 15:18:10 +01:00