##// END OF EJS Templates
nix: generate shell fix env flags.
marcink -
r971:339e78cd python3
parent child Browse files
Show More
@@ -34,12 +34,6 b' pkgs.stdenv.mkDerivation {'
34 pkgs.aprutil
34 pkgs.aprutil
35 ];
35 ];
36
36
37 LC_ALL = "en_US.UTF-8";
38 LOCALE_ARCHIVE =
39 if pkgs.stdenv.isLinux
40 then "${pkgs.glibcLocales}/lib/locale/locale-archive"
41 else "";
42
43 shellHook = ''
37 shellHook = ''
44 runHook preShellHook
38 runHook preShellHook
45 echo "Setting SVN_* variables"
39 echo "Setting SVN_* variables"
@@ -53,6 +47,8 b' pkgs.stdenv.mkDerivation {'
53 # set unpack source date to 1980 to fix ZIP problems that does not support <1980
47 # set unpack source date to 1980 to fix ZIP problems that does not support <1980
54 export SOURCE_DATE_EPOCH=315532800
48 export SOURCE_DATE_EPOCH=315532800
55 export TMPDIR=/tmp
49 export TMPDIR=/tmp
50 export LOCALE_ARCHIVE="${pkgs.glibcLocales}/lib/locale/locale-archive"
51 export LC_ALL="en_US.UTF-8"
56
52
57 # Custom prompt to distinguish from other dev envs.
53 # Custom prompt to distinguish from other dev envs.
58 export PS1="\n\[\033[1;32m\][pip2nix-generate-shell]$\[\033[0m\] "
54 export PS1="\n\[\033[1;32m\][pip2nix-generate-shell]$\[\033[0m\] "
General Comments 0
You need to be logged in to leave comments. Login now