mirror of
https://github.com/privatevoid-net/nix-super.git
synced 2024-11-22 05:56:15 +02:00
parent
3fd5425f94
commit
b6eb8a2d7e
1 changed files with 3 additions and 4 deletions
|
@ -51,10 +51,9 @@ if [ -n "$HOME" ] && [ -n "$USER" ]; then
|
||||||
unset __nix_defexpr
|
unset __nix_defexpr
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Append ~/.nix-defexpr/channels/nixpkgs to $NIX_PATH so that
|
# Append ~/.nix-defexpr/channels to $NIX_PATH so that <nixpkgs>
|
||||||
# <nixpkgs> paths work when the user has fetched the Nixpkgs
|
# paths work when the user has fetched the Nixpkgs channel.
|
||||||
# channel.
|
export NIX_PATH=${NIX_PATH:+$NIX_PATH:}$HOME/.nix-defexpr/channels
|
||||||
export NIX_PATH="${NIX_PATH:+$NIX_PATH:}nixpkgs=$HOME/.nix-defexpr/channels/nixpkgs"
|
|
||||||
|
|
||||||
# Set up environment.
|
# Set up environment.
|
||||||
# This part should be kept in sync with nixpkgs:nixos/modules/programs/environment.nix
|
# This part should be kept in sync with nixpkgs:nixos/modules/programs/environment.nix
|
||||||
|
|
Loading…
Reference in a new issue