Fixing my-env to get NIX_CFLAGS_COMPILE and so on

Yes, I still use my-env. I tested that it works on 16.03.
This commit is contained in:
Lluís Batlle i Rossell 2016-03-09 12:40:17 +01:00
parent 64d5af4663
commit 63ffd27a6b
2 changed files with 2 additions and 1 deletions

View File

@ -88,6 +88,7 @@ mkDerivation {
-e '1i initialPath="${toString initialPath}"' \
"$setupNew" > "$s"
cat >> "$out/dev-envs/''${name/env-/}" << EOF
defaultNativeBuildInputs="$defaultNativeBuildInputs"
nativeBuildInputs="$nativeBuildInputs"
propagatedBuildInputs="$propagatedBuildInputs2"
# the setup-new script wants to write some data to a temp file.. so just let it do that and tidy up afterwards

View File

@ -1,4 +1,4 @@
#!/bin/sh
#!@shell@
OLDPATH="$PATH"
OLDTZ="$TZ"