From a193fe4f1d0ddcb6b87ebc575ad9240f1be5c29f Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Wed, 18 Apr 2012 10:34:39 +0000 Subject: [PATCH] * Add root's NixOS channel to $NIX_PATH. Will remove /etc/nixos/{nixos,nixpkgs,services} eventually. svn path=/nixos/trunk/; revision=33822 --- modules/programs/bash/profile.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/programs/bash/profile.sh b/modules/programs/bash/profile.sh index c0f8702117e9..de02214eb11e 100644 --- a/modules/programs/bash/profile.sh +++ b/modules/programs/bash/profile.sh @@ -15,7 +15,7 @@ export __ETC_PROFILE_DONE=1 export LOCALE_ARCHIVE=/var/run/current-system/sw/lib/locale/locale-archive export LD_LIBRARY_PATH=/var/run/opengl-driver/lib:/var/run/opengl-driver-32/lib # !!! only set if needed export NIXPKGS_CONFIG=/nix/etc/config.nix -export NIX_PATH=nixpkgs=/etc/nixos/nixpkgs:nixos=/etc/nixos/nixos:nixos-config=/etc/nixos/configuration.nix:services=/etc/nixos/services +export NIX_PATH=/nix/var/nix/profiles/per-user/root/channels/nixos:nixpkgs=/etc/nixos/nixpkgs:nixos=/etc/nixos/nixos:nixos-config=/etc/nixos/configuration.nix:services=/etc/nixos/services export PAGER="less -R" export EDITOR=nano export LOCATE_PATH=/var/cache/locatedb