Author: eelco
Date: Wed Apr 18 10:59:57 2012
New Revision: 33824
URL: https://nixos.org/websvn/nix/?rev=33824&sc=1

Log:
* Change $NIXPKGS_CONFIG to a better location (/etc/nix instead of
  /nix/etc).  Not sure the default profile should be setting this at
  all though.

Modified:
   nixos/trunk/modules/programs/bash/profile.sh

Modified: nixos/trunk/modules/programs/bash/profile.sh
==============================================================================
--- nixos/trunk/modules/programs/bash/profile.sh        Wed Apr 18 10:58:33 
2012        (r33823)
+++ nixos/trunk/modules/programs/bash/profile.sh        Wed Apr 18 10:59:57 
2012        (r33824)
@@ -14,7 +14,7 @@
 # Initialise a bunch of environment variables.
 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 NIXPKGS_CONFIG=/etc/nix/nixpkgs-config.nix
 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
_______________________________________________
nix-commits mailing list
[email protected]
http://lists.science.uu.nl/mailman/listinfo/nix-commits

Reply via email to