Set NIX_PATH #33

Merged
sb10q merged 1 commits from fsagbuya/nix-servo:NIX_PATH into master 2024-02-19 17:32:33 +08:00
Collaborator

Set NIX_PATH so nix-channel can work.

Test log:

-bash-5.2# echo $NIX_PATH
nixpkgs=/nix/var/nix/profiles/per-user/root/channels/nixos:nixos-config=/etc/nixos/configuration.nix:/nix/var/nix/profiles/per-user/root/channels
-bash-5.2# nix-channel --add https://nixos.org/channels/nixos-unstable nixos
-bash-5.2# nix-channel --update
unpacking channels...
-bash-5.2# nix-shell -p hello
these 150 derivations will be built:
  /nix/store/x3qp34vnb147xg3glk9iwvqh5kx6akca-bootstrap-tools.drv
  /nix/store/nhy4y8m5l54v9npi8qljzcjxw8g658al-bootstrap-stage0-stdenv-linux.drv
...

Closes #26

Set `NIX_PATH` so `nix-channel` can work. Test log: ``` -bash-5.2# echo $NIX_PATH nixpkgs=/nix/var/nix/profiles/per-user/root/channels/nixos:nixos-config=/etc/nixos/configuration.nix:/nix/var/nix/profiles/per-user/root/channels -bash-5.2# nix-channel --add https://nixos.org/channels/nixos-unstable nixos -bash-5.2# nix-channel --update unpacking channels... -bash-5.2# nix-shell -p hello these 150 derivations will be built: /nix/store/x3qp34vnb147xg3glk9iwvqh5kx6akca-bootstrap-tools.drv /nix/store/nhy4y8m5l54v9npi8qljzcjxw8g658al-bootstrap-stage0-stdenv-linux.drv ... ``` Closes #26
fsagbuya added 1 commit 2024-02-19 15:59:11 +08:00
sb10q merged commit 72e91bfdb2 into master 2024-02-19 17:32:33 +08:00
Sign in to join this conversation.
No reviewers
No Label
No Milestone
No project
No Assignees
1 Participants
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: M-Labs/nix-servo#33
No description provided.