##// END OF EJS Templates
nix: generate shell, fixed env flags
marcink -
r4758:5b3782dd python3
parent child Browse files
Show More
@@ -50,12 +50,6 b' pkgs.stdenv.mkDerivation {'
50 pkgs.curl
50 pkgs.curl
51 ];
51 ];
52
52
53 LC_ALL = "en_US.UTF-8";
54 LOCALE_ARCHIVE =
55 if pkgs.stdenv.isLinux
56 then "${pkgs.glibcLocales}/lib/locale/locale-archive"
57 else "";
58
59 shellHook = ''
53 shellHook = ''
60 runHook preShellHook
54 runHook preShellHook
61 runHook postShellHook
55 runHook postShellHook
@@ -66,7 +60,8 b' pkgs.stdenv.mkDerivation {'
66 # set unpack source date to 1980 to fix ZIP problems that does not support <1980
60 # set unpack source date to 1980 to fix ZIP problems that does not support <1980
67 export SOURCE_DATE_EPOCH=315532800
61 export SOURCE_DATE_EPOCH=315532800
68 export TMPDIR=/tmp
62 export TMPDIR=/tmp
69
63 export LOCALE_ARCHIVE="${pkgs.glibcLocales}/lib/locale/locale-archive"
64 export LC_ALL="en_US.UTF-8"
70 # Custom prompt to distinguish from other dev envs.
65 # Custom prompt to distinguish from other dev envs.
71 export PS1="\n\[\033[1;32m\][pip2nix-generate-shell]$\[\033[0m\] "
66 export PS1="\n\[\033[1;32m\][pip2nix-generate-shell]$\[\033[0m\] "
72
67
General Comments 0
You need to be logged in to leave comments. Login now