aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorCole Helbling <cole.e.helbling@outlook.com>2023-02-28 16:10:42 -0800
committerCole Helbling <cole.e.helbling@outlook.com>2023-02-28 16:10:42 -0800
commit2b801d6e3c3a3be6feb6fa2d9a0b009fa9261b45 (patch)
treee41d86f2d1ae7e8936881f99b51cc26ce04475d2 /tests
parent4489def1b36aeaee2254159efc1c21c868cc8585 (diff)
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.
Diffstat (limited to 'tests')
0 files changed, 0 insertions, 0 deletions