* Include only the en_US locale on the CD. This saves 75 MiB or so.
svn path=/nixos/branches/modular-nixos/; revision=15883
This commit is contained in:
@@ -33,7 +33,6 @@ in
|
||||
systemPath = config.system.path;
|
||||
wrapperDir = config.security.wrapperDir;
|
||||
modulesTree = config.system.modulesTree;
|
||||
defaultLocale = config.i18n.defaultLocale;
|
||||
shellInit = config.environment.shellInit;
|
||||
};
|
||||
target = "bashrc";
|
||||
|
||||
@@ -5,11 +5,8 @@ export MODULE_DIR=@modulesTree@/lib/modules
|
||||
export NIXPKGS_CONFIG=/nix/etc/config.nix
|
||||
export NIXPKGS_ALL=/etc/nixos/nixpkgs
|
||||
export PAGER="less -R"
|
||||
export LANG=@defaultLocale@
|
||||
export EDITOR=nano
|
||||
export INFOPATH=/var/run/current-system/sw/info:/var/run/current-system/sw/share/info
|
||||
export LOCATE_PATH=/var/cache/locatedb
|
||||
export LOCALE_ARCHIVE=/var/run/current-system/sw/lib/locale/locale-archive
|
||||
@shellInit@
|
||||
|
||||
|
||||
|
||||
@@ -33,4 +33,9 @@ in
|
||||
|
||||
{
|
||||
environment.systemPackages = [infoWrapper];
|
||||
|
||||
environment.shellInit =
|
||||
''
|
||||
export INFOPATH=/var/run/current-system/sw/info:/var/run/current-system/sw/share/info
|
||||
'';
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user