buildStackProject: set GIT_SSL_CAINFO and LANG
This commit is contained in:
parent
6a04086683
commit
f4e67389cc
@ -27,6 +27,12 @@ stdenv.mkDerivation (args // {
|
||||
LD_LIBRARY_PATH = makeLibraryPath (LD_LIBRARY_PATH ++ buildInputs);
|
||||
# ^^^ Internally uses `getOutput "lib"` (equiv. to getLib)
|
||||
|
||||
# Non-NixOS git needs cert
|
||||
GIT_SSL_CAINFO = "${cacert}/etc/ssl/certs/ca-bundle.crt";
|
||||
|
||||
# Fixes https://github.com/commercialhaskell/stack/issues/2358
|
||||
LANG = "en_US.UTF-8";
|
||||
|
||||
preferLocalBuild = true;
|
||||
|
||||
configurePhase = args.configurePhase or ''
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user