Merge branch stdenv-updates into x-updates
x-updates is supposed to merge after stdenv-updates, so let's test it Conflicts: pkgs/development/libraries/gtk+/2.x.nix (both updated, taking newer) pkgs/development/libraries/mesa/default.nix (taking nativeBuildInputs)
This commit is contained in:
@@ -63,8 +63,8 @@
|
||||
|
||||
mkDerivation {
|
||||
# The setup.sh script from stdenv will expect the native build inputs in
|
||||
# the buildNativeInputs environment variable.
|
||||
buildNativeInputs = [ ] ++ buildInputs;
|
||||
# the nativeBuildInputs environment variable.
|
||||
nativeBuildInputs = [ ] ++ buildInputs;
|
||||
# Trick to bypass the stdenv usual change of propagatedBuildInputs => propagatedNativeBuildInputs
|
||||
propagatedBuildInputs2 = propagatedBuildInputs;
|
||||
|
||||
@@ -87,7 +87,7 @@ mkDerivation {
|
||||
-e 's@trap.*@@' \
|
||||
-i "$s"
|
||||
cat >> "$out/dev-envs/''${name/env-/}" << EOF
|
||||
buildNativeInputs="$buildNativeInputs"
|
||||
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
|
||||
tmp="\$("${pkgs.coreutils}/bin/mktemp" -d)"
|
||||
|
||||
@@ -4,8 +4,8 @@ args: with args; {
|
||||
|| x ? meta && x.meta ? sourceWithTags );
|
||||
# hack because passthru doesn't work the way I'd expect. Don't have time to spend on this right now
|
||||
# that's why I'm abusing meta for the same purpose in ghcsAndLibs
|
||||
sourceWithTagsFromDerivation = x : if (x ? passthru && x.passthru ? sourceWithTags ) then x.passthru.sourceWithTags
|
||||
else if (x ? meta && x.meta ? sourceWithTags ) then x.meta.sourceWithTags
|
||||
sourceWithTagsFromDerivation = x : if x ? passthru && x.passthru ? sourceWithTags then x.passthru.sourceWithTags
|
||||
else if x ? meta && x.meta ? sourceWithTags then x.meta.sourceWithTags
|
||||
else null;
|
||||
|
||||
# createTagFiles = [ { name = "my_tag_name_without_suffix", tagCmd = "ctags -R . -o \$TAG_FILE"; } ]
|
||||
|
||||
@@ -27,7 +27,7 @@ stdenv.mkDerivation {
|
||||
sha256 = "15nli6h9a127ldizsck3g4ysy5j4m910wawspgpadz4vjyk213p0";
|
||||
};
|
||||
|
||||
buildNativeInputs = [ unzip ];
|
||||
nativeBuildInputs = [ unzip ];
|
||||
|
||||
dontStrip = true;
|
||||
|
||||
|
||||
@@ -39,7 +39,7 @@ stdenv.mkDerivation {
|
||||
fi
|
||||
'';
|
||||
|
||||
buildNativeInputs = [ unzip ];
|
||||
nativeBuildInputs = [ unzip ];
|
||||
|
||||
dontStrip = true;
|
||||
|
||||
|
||||
@@ -42,7 +42,7 @@ stdenv.mkDerivation {
|
||||
fi
|
||||
'';
|
||||
|
||||
buildNativeInputs = [ unzip ];
|
||||
nativeBuildInputs = [ unzip ];
|
||||
|
||||
dontStrip = true;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user