mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-20 03:43:45 +00:00
* Add $prefix/info, set $INFOPATH.
svn path=/nixos/trunk/; revision=10087
This commit is contained in:
parent
a00f463ffa
commit
fec916552c
@ -7,6 +7,7 @@ export TZDIR=@glibc@/share/zoneinfo
|
||||
export FONTCONFIG_FILE=/etc/fonts/fonts.conf
|
||||
export LANG=@defaultLocale@
|
||||
export EDITOR=nano
|
||||
export INFOPATH=/var/run/current-system/sw/info:/var/run/current-system/sw/share/info
|
||||
|
||||
|
||||
# A nice prompt.
|
||||
@ -52,6 +53,7 @@ NIX_PROFILES="/nix/var/nix/profiles/default $NIX_USER_PROFILE_DIR/profile"
|
||||
|
||||
for i in $NIX_PROFILES; do # !!! reverse
|
||||
export PATH=$i/bin:$i/sbin:$PATH
|
||||
export INFOPATH=$i/info:$i/share/info:$INFOPATH
|
||||
export ASPELL_EXTRA_DICT_DIRS="$i/lib/aspell${ASPELL_EXTRA_DICT_DIRS:+,}$ASPELL_EXTRA_DICT_DIRS"
|
||||
done
|
||||
|
||||
|
@ -1815,7 +1815,7 @@ root ALL=(ALL) SETENV: ALL
|
||||
environment = {
|
||||
|
||||
pathsToLink = mkOption {
|
||||
default = ["/bin" "/sbin" "/share" "/man"];
|
||||
default = ["/bin" "/sbin" "/share" "/man" "/info"];
|
||||
example = ["/"];
|
||||
description = "
|
||||
This allows to symlink more directories in /var/run/current-system/sw
|
||||
|
Loading…
Reference in New Issue
Block a user