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.
commit63ffd27a6b0b6665e89c51f08cf06ab3c7bd474b
authorLluís Batlle i Rossell <viric@viric.name>
dateWed 9 Mar 2016, 12:40 (11 years ago)
parent64d5af4
pkgs/misc/my-env/default.nix+1
@@ -88,6 +88,7 @@ mkDerivation {
8888 -e '1i initialPath="${toString initialPath}"' \
8989 "$setupNew" > "$s"
9090 cat >> "$out/dev-envs/''${name/env-/}" << EOF
91+ defaultNativeBuildInputs="$defaultNativeBuildInputs"
9192 nativeBuildInputs="$nativeBuildInputs"
9293 propagatedBuildInputs="$propagatedBuildInputs2"
9394 # the setup-new script wants to write some data to a temp file.. so just let it do that and tidy up afterwards
pkgs/misc/my-env/loadenv.sh+1−1
@@ -1,4 +1,4 @@
1−#!/bin/sh
1+#!@shell@
22
33OLDPATH="$PATH"
44OLDTZ="$TZ"