You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When installing Nix on a non-NixOS system (in multi-user mode, which is the default now), the nix-daemon doesn't have the nix* binaries in $PATH.
This is somewhat unintuitive/inconsistent, as nix.package gets added to $PATH on NixOS, and it just works there, but fails for example when using Nix on non-NixOS (like in a GitHub Action)
Steps To Reproduce
Install Nix on non-NixOS via the official installer
Originally reported as cachix/install-nix-action#82, but it's not limited to the install-nix-action itself, and the case in everything using the installer on non-NixOS.
The text was updated successfully, but these errors were encountered:
however, macOS installs will almost certainly become multi-user-only after the next release from master, or whenever darwin: encrypt nix volume if filevault is enabled #4289 is backported to 2.3.x (I'm not quite sure--the discussion on cachix was very systemd specific--is this behavior confirmed on macOS as well?)
Describe the bug
When installing Nix on a non-NixOS system (in multi-user mode, which is the default now), the nix-daemon doesn't have the
nix*
binaries in$PATH
.This is somewhat unintuitive/inconsistent, as
nix.package
gets added to$PATH
on NixOS, and it just works there, but fails for example when using Nix on non-NixOS (like in a GitHub Action)Steps To Reproduce
nix.conf
nix copy
as per https://www.tweag.io/blog/2019-11-21-untrusted-ci/)Expected behavior
nix-daemon
has its tooling in $PATH.nix-env --version
output2.3.12, as per
Additional context
Originally reported as cachix/install-nix-action#82, but it's not limited to the
install-nix-action
itself, and the case in everything using the installer on non-NixOS.The text was updated successfully, but these errors were encountered: