nix command not found when converting Determinate Installer system #173

Closed
opened 2024-03-25 03:38:01 +00:00 by emilytrau · 0 comments
Member

Describe the bug

$out/etc/profile.d/nix-daemon.sh is no longer created. This script is used by the Determinate Installer to add nix to the environment in /etc/zshrc.

# Nix
if [ -e '/nix/var/nix/profiles/default/etc/profile.d/nix-daemon.sh' ]; then
    . '/nix/var/nix/profiles/default/etc/profile.d/nix-daemon.sh'
fi
# End Nix

The likely cause seems to be 93cc063344 @puck

Steps To Reproduce

Comparing build output of nix and lix packages.

Expected behavior

$out/etc/profile.d/nix-daemon.sh is expected to be present

nix-env --version output

nix-env (Nix) 2.20.5

Additional context

System nix is installed with Determinate Installer on macOS.

Related to lix-project/nixos-module#7

## Describe the bug `$out/etc/profile.d/nix-daemon.sh` is no longer created. This script is used by the Determinate Installer to add nix to the environment in `/etc/zshrc`. ``` # Nix if [ -e '/nix/var/nix/profiles/default/etc/profile.d/nix-daemon.sh' ]; then . '/nix/var/nix/profiles/default/etc/profile.d/nix-daemon.sh' fi # End Nix ``` The likely cause seems to be 93cc063344 @puck ## Steps To Reproduce Comparing build output of `nix` and `lix` packages. ## Expected behavior `$out/etc/profile.d/nix-daemon.sh` is expected to be present ## `nix-env --version` output `nix-env (Nix) 2.20.5` ## Additional context System nix is installed with Determinate Installer on macOS. Related to https://git.lix.systems/lix-project/nixos-module/issues/7
emilytrau added the
bug
label 2024-03-25 03:38:01 +00:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: lix-project/lix#173
No description provided.