nix: generate shell, fixed env flags
This commit is contained in:
parent
84e76c93b6
commit
ab98ff6155
1 changed files with 2 additions and 7 deletions
|
|
@ -50,12 +50,6 @@ pkgs.stdenv.mkDerivation {
|
|||
pkgs.curl
|
||||
];
|
||||
|
||||
LC_ALL = "en_US.UTF-8";
|
||||
LOCALE_ARCHIVE =
|
||||
if pkgs.stdenv.isLinux
|
||||
then "${pkgs.glibcLocales}/lib/locale/locale-archive"
|
||||
else "";
|
||||
|
||||
shellHook = ''
|
||||
runHook preShellHook
|
||||
runHook postShellHook
|
||||
|
|
@ -66,7 +60,8 @@ pkgs.stdenv.mkDerivation {
|
|||
# set unpack source date to 1980 to fix ZIP problems that does not support <1980
|
||||
export SOURCE_DATE_EPOCH=315532800
|
||||
export TMPDIR=/tmp
|
||||
|
||||
export LOCALE_ARCHIVE="${pkgs.glibcLocales}/lib/locale/locale-archive"
|
||||
export LC_ALL="en_US.UTF-8"
|
||||
# Custom prompt to distinguish from other dev envs.
|
||||
export PS1="\n\[\033[1;32m\][pip2nix-generate-shell]$\[\033[0m\] "
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue