git.iko.soy/typeable/nixpkgs
on master help sign in
stdenv setup: Always use both propagated files

This continues #23374, which always kept around both attributes, by always including both propagated files: `propgated-native-build-inputs` and `propagated-build-inputs`. `nativePkgs` and `crossPkgs` are still defined as before, however, so this change should only barely observable. This is an incremental step to fully keeping the dependencies separate in all cases.

commitda19c34d0fd335424e734c3bec9ca87687eb15f0 authorJohn Ericson <John.Ericson@Obsidian.Systems> dateFri 17 Nov 2017, 13:26 (9 years ago) parent652c2be
24 files changed+81−131
pkgs/build-support/setup-hooks/multiple-outputs.sh+1−11 pkgs/build-support/trivial-builders.nix+1−1 pkgs/desktops/plasma-5/default.nix+1−5 pkgs/development/compilers/openjdk-darwin/8.nix+1−1 pkgs/development/compilers/openjdk-darwin/default.nix+1−1 pkgs/development/compilers/openjdk/7.nix+2−2 pkgs/development/compilers/openjdk/8.nix+2−2 pkgs/development/compilers/openjdk/9.nix+2−2 pkgs/development/compilers/oraclejdk/jdk-linux-base.nix+1−1 pkgs/development/compilers/oraclejdk/jdk9-linux.nix+1−1 pkgs/development/compilers/zulu/8.nix+1−1 pkgs/development/compilers/zulu/default.nix+1−1 pkgs/development/interpreters/python/wrap.sh+2−2 pkgs/development/libraries/grantlee/5/setup-hook.sh+6−12 pkgs/development/libraries/kde-frameworks/default.nix+1−5 pkgs/development/libraries/libxslt/default.nix+1−1 pkgs/development/libraries/qt-5/hooks/qtbase-setup-hook.sh+6−15 pkgs/development/perl-modules/generic/builder.sh+2−2 pkgs/development/r-modules/generic-builder.nix+2−2 pkgs/servers/monitoring/munin/default.nix+2−2 pkgs/servers/x11/xorg/builder.sh+11−15 pkgs/stdenv/generic/setup.sh+30−43 pkgs/tools/filesystems/ceph/generic.nix+2−2 pkgs/top-level/all-packages.nix+1−1
pkgs/build-support/setup-hooks/multiple-outputs.sh+1−11
@@ -164,8 +164,6 @@ _multioutDevs() {
164164}
165165
166166# Make the "dev" propagate other outputs needed for development.
167−# Note: with current cross-building setup, all packages are "native" if not cross-building;
168−# however, if cross-building, the outputs are non-native. We have to choose the right file.
169167_multioutPropagateDev() {
170168 if [ "$outputs" = "out" ]; then return; fi;
171169
@@ -193,16 +191,8 @@ _multioutPropagateDev() {
193191 return
194192 fi
195193
196− local propagatedBuildInputsFile
197− if [ -z "$crossConfig" ]; then
198− propagatedBuildInputsFile=propagated-native-build-inputs
199− else
200− propagatedBuildInputsFile=propagated-build-inputs
201− fi
202−
203194 mkdir -p "${!propagaterOutput}"/nix-support
204195 for output in $propagatedBuildOutputs; do
205− echo -n " ${!output}" >> "${!propagaterOutput}"/nix-support/$propagatedBuildInputsFile
196+ echo -n " ${!output}" >> "${!propagaterOutput}"/nix-support/propagated-build-inputs
206197 done
207198}
208−
pkgs/build-support/trivial-builders.nix+1−1
@@ -101,7 +101,7 @@ rec {
101101 mkdir -p $out/nix-support
102102 cp ${script} $out/nix-support/setup-hook
103103 '' + lib.optionalString (deps != []) ''
104− printWords ${toString deps} > $out/nix-support/propagated-native-build-inputs
104+ printWords ${toString deps} > $out/nix-support/propagated-build-inputs
105105 '' + lib.optionalString (substitutions != {}) ''
106106 substituteAll ${script} $out/nix-support/setup-hook
107107 '');
pkgs/desktops/plasma-5/default.nix+1−5
@@ -58,11 +58,7 @@ let
5858 # Propagate $dev so that this setup hook is propagated
5959 # But only if there is a separate $dev output
6060 if [ "$outputDev" != out ]; then
61− if [ -n "$crossConfig" ]; then
62− propagatedBuildInputs="$propagatedBuildInputs @dev@"
63− else
64− propagatedNativeBuildInputs="$propagatedNativeBuildInputs @dev@"
65− fi
61+ propagatedBuildInputs="$propagatedBuildInputs @dev@"
6662 fi
6763 fi
6864 '';
pkgs/development/compilers/openjdk-darwin/8.nix+1−1
@@ -33,7 +33,7 @@ let
3333 # any package that depends on the JRE has $CLASSPATH set up
3434 # properly.
3535 mkdir -p $out/nix-support
36− printWords ${setJavaClassPath} > $out/nix-support/propagated-native-build-inputs
36+ printWords ${setJavaClassPath} > $out/nix-support/propagated-build-inputs
3737
3838 install_name_tool -change /usr/X11/lib/libfreetype.6.dylib ${freetype}/lib/libfreetype.6.dylib $out/jre/lib/libfontmanager.dylib
3939
pkgs/development/compilers/openjdk-darwin/default.nix+1−1
@@ -23,7 +23,7 @@ let
2323 # any package that depends on the JRE has $CLASSPATH set up
2424 # properly.
2525 mkdir -p $out/nix-support
26− printWords ${setJavaClassPath} > $out/nix-support/propagated-native-build-inputs
26+ printWords ${setJavaClassPath} > $out/nix-support/propagated-build-inputs
2727
2828 install_name_tool -change /usr/X11/lib/libfreetype.6.dylib ${freetype}/lib/libfreetype.6.dylib $out/jre/lib/libfontmanager.dylib
2929
pkgs/development/compilers/openjdk/7.nix+2−2
@@ -184,13 +184,13 @@ let
184184 preFixup = ''
185185 prefix=$jre stripDirs "$stripDebugList" "''${stripDebugFlags:--S}"
186186 patchELF $jre
187− propagatedNativeBuildInputs+=" $jre"
187+ propagatedBuildInputs+=" $jre"
188188
189189 # Propagate the setJavaClassPath setup hook from the JRE so that
190190 # any package that depends on the JRE has $CLASSPATH set up
191191 # properly.
192192 mkdir -p $jre/nix-support
193− printWords ${setJavaClassPath} > $jre/nix-support/propagated-native-build-inputs
193+ printWords ${setJavaClassPath} > $jre/nix-support/propagated-build-inputs
194194
195195 # Set JAVA_HOME automatically.
196196 mkdir -p $out/nix-support
pkgs/development/compilers/openjdk/8.nix+2−2
@@ -206,13 +206,13 @@ let
206206 preFixup = ''
207207 prefix=$jre stripDirs "$stripDebugList" "''${stripDebugFlags:--S}"
208208 patchELF $jre
209− propagatedNativeBuildInputs+=" $jre"
209+ propagatedBuildInputs+=" $jre"
210210
211211 # Propagate the setJavaClassPath setup hook from the JRE so that
212212 # any package that depends on the JRE has $CLASSPATH set up
213213 # properly.
214214 mkdir -p $jre/nix-support
215− printWords ${setJavaClassPath} > $jre/nix-support/propagated-native-build-inputs
215+ printWords ${setJavaClassPath} > $jre/nix-support/propagated-build-inputs
216216
217217 # Set JAVA_HOME automatically.
218218 mkdir -p $out/nix-support
pkgs/development/compilers/openjdk/9.nix+2−2
@@ -204,14 +204,14 @@ let
204204 preFixup = ''
205205 prefix=$jre stripDirs "$stripDebugList" "''${stripDebugFlags:--S}"
206206 patchELF $jre
207− propagatedNativeBuildInputs+=" $jre"
207+ propagatedBuildInputs+=" $jre"
208208
209209 # Propagate the setJavaClassPath setup hook from the JRE so that
210210 # any package that depends on the JRE has $CLASSPATH set up
211211 # properly.
212212 mkdir -p $jre/nix-support
213213 #TODO or printWords? cf https://github.com/NixOS/nixpkgs/pull/27427#issuecomment-317293040
214− echo -n "${setJavaClassPath}" > $jre/nix-support/propagated-native-build-inputs
214+ echo -n "${setJavaClassPath}" > $jre/nix-support/propagated-build-inputs
215215
216216 # Set JAVA_HOME automatically.
217217 mkdir -p $out/nix-support
pkgs/development/compilers/oraclejdk/jdk-linux-base.nix+1−1
@@ -166,7 +166,7 @@ let result = stdenv.mkDerivation rec {
166166 ln -s $jrePath/lib/${architecture}/libnpjp2.so $jrePath/lib/${architecture}/plugins
167167
168168 mkdir -p $out/nix-support
169− printWords ${setJavaClassPath} > $out/nix-support/propagated-native-build-inputs
169+ printWords ${setJavaClassPath} > $out/nix-support/propagated-build-inputs
170170
171171 # Set JAVA_HOME automatically.
172172 cat <<EOF >> $out/nix-support/setup-hook
pkgs/development/compilers/oraclejdk/jdk9-linux.nix+1−1
@@ -124,7 +124,7 @@ let result = stdenv.mkDerivation rec {
124124 ln -s $out $out/jre
125125
126126 mkdir -p $out/nix-support
127− printWords ${setJavaClassPath} > $out/nix-support/propagated-native-build-inputs
127+ printWords ${setJavaClassPath} > $out/nix-support/propagated-build-inputs
128128
129129 # Set JAVA_HOME automatically.
130130 cat <<EOF >> $out/nix-support/setup-hook
pkgs/development/compilers/zulu/8.nix+1−1
@@ -54,7 +54,7 @@ in stdenv.mkDerivation rec {
5454 find $out -name "*.so" -exec patchelf --set-rpath "$rpath" {} \;
5555
5656 mkdir -p $out/nix-support
57− printWords ${setJavaClassPath} > $out/nix-support/propagated-native-build-inputs
57+ printWords ${setJavaClassPath} > $out/nix-support/propagated-build-inputs
5858
5959 # Set JAVA_HOME automatically.
6060 cat <<EOF >> $out/nix-support/setup-hook
pkgs/development/compilers/zulu/default.nix+1−1
@@ -51,7 +51,7 @@ in stdenv.mkDerivation rec {
5151 find $out -name "*.so" -exec patchelf --set-rpath "$rpath" {} \;
5252
5353 mkdir -p $out/nix-support
54− printWords ${setJavaClassPath} > $out/nix-support/propagated-native-build-inputs
54+ printWords ${setJavaClassPath} > $out/nix-support/propagated-build-inputs
5555
5656 # Set JAVA_HOME automatically.
5757 cat <<EOF >> $out/nix-support/setup-hook
pkgs/development/interpreters/python/wrap.sh+2−2
@@ -83,7 +83,7 @@ wrapPythonProgramsIn() {
8383
8484# Adds the lib and bin directories to the PYTHONPATH and PATH variables,
8585# respectively. Recurses on any paths declared in
86−# `propagated-native-build-inputs`, while avoiding duplicating paths by
86+# `propagated-build-inputs`, while avoiding duplicating paths by
8787# flagging the directories it has visited in `pythonPathsSeen`.
8888_addToPythonPath() {
8989 local dir="$1"
@@ -96,7 +96,7 @@ _addToPythonPath() {
9696 addToSearchPath program_PATH $dir/bin
9797
9898 # Inspect the propagated inputs (if they exist) and recur on them.
99− local prop="$dir/nix-support/propagated-native-build-inputs"
99+ local prop="$dir/nix-support/propagated-build-inputs"
100100 if [ -e $prop ]; then
101101 local new_path
102102 for new_path in $(cat $prop); do
pkgs/development/libraries/grantlee/5/setup-hook.sh+6−12
@@ -4,20 +4,14 @@ providesGrantleeRuntime() {
44 [ -d "$1/$grantleePluginPrefix" ]
55}
66
7−_grantleeCrossEnvHook() {
8− if providesQtRuntime "$1"; then
9− propagatedBuildInputs+=" $1"
10− propagatedUserEnvPkgs+=" $1"
11− fi
12−}
13−crossEnvHooks+=(_grantleeCrossEnvHook)
14−
157_grantleeEnvHook() {
168 if providesGrantleeRuntime "$1"; then
17− propagatedNativeBuildInputs+=" $1"
18− if [ -z "$crossConfig" ]; then
9+ propagatedBuildInputs+=" $1"
1910 propagatedUserEnvPkgs+=" $1"
20− fi
2111 fi
2212}
23−envHooks+=(_grantleeEnvHook)
13+if [ "$crossEnv" ]; then
14+ crossEnvHooks+=(_grantleeEnvHook)
15+else
16+ envHooks+=(_grantleeEnvHook)
17+fi
pkgs/development/libraries/kde-frameworks/default.nix+1−5
@@ -56,11 +56,7 @@ let
5656 # Propagate $dev so that this setup hook is propagated
5757 # But only if there is a separate $dev output
5858 if [ "$outputDev" != out ]; then
59− if [ -n "$crossConfig" ]; then
60− propagatedBuildInputs="$propagatedBuildInputs @dev@"
61− else
62− propagatedNativeBuildInputs="$propagatedNativeBuildInputs @dev@"
63− fi
59+ propagatedBuildInputs="$propagatedBuildInputs @dev@"
6460 fi
6561 fi
6662 '';
pkgs/development/libraries/libxslt/default.nix+1−1
@@ -51,7 +51,7 @@ stdenv.mkDerivation rec {
5151 moveToOutput share/man/man1 "$bin"
5252 '' + optionalString pythonSupport ''
5353 mkdir -p $py/nix-support
54− echo ${libxml2.py} >> $py/nix-support/propagated-native-build-inputs
54+ echo ${libxml2.py} >> $py/nix-support/propagated-build-inputs
5555 moveToOutput lib/python2.7 "$py"
5656 '';
5757
pkgs/development/libraries/qt-5/hooks/qtbase-setup-hook.sh+6−15
@@ -33,29 +33,20 @@ addToQMAKEPATH() {
3333# package depending on the building package. (This is necessary in case
3434# the building package does not provide runtime dependencies itself and so
3535# would not be propagated to the user environment.)
36−qtCrossEnvHook() {
37− addToQMAKEPATH "$1"
38− if providesQtRuntime "$1"; then
39− if [ "z${!outputBin}" != "z${!outputDev}" ]; then
40− propagatedBuildInputs+=" $1"
41− fi
42− propagatedUserEnvPkgs+=" $1"
43− fi
44−}
45−crossEnvHooks+=(qtCrossEnvHook)
46−
4736qtEnvHook() {
4837 addToQMAKEPATH "$1"
4938 if providesQtRuntime "$1"; then
5039 if [ "z${!outputBin}" != "z${!outputDev}" ]; then
51− propagatedNativeBuildInputs+=" $1"
40+ propagatedBuildInputs+=" $1"
5241 fi
53− if [ -z "$crossConfig" ]; then
5442 propagatedUserEnvPkgs+=" $1"
55− fi
5643 fi
5744}
58−envHooks+=(qtEnvHook)
45+if [ "$crossConfig" ]; then
46+ crossEnvHooks+=(qtEnvHook)
47+else
48+ envHooks+=(qtEnvHook)
49+fi
5950
6051postPatchMkspecs() {
6152 local bin="${!outputBin}"
pkgs/development/perl-modules/generic/builder.sh+2−2
@@ -34,8 +34,8 @@ postFixup() {
3434 # dependencies in the user environment (since Perl modules don't
3535 # have something like an RPATH, so the only way to find the
3636 # dependencies is to have them in the PERL5LIB variable).
37− if test -e $out/nix-support/propagated-native-build-inputs; then
38− ln -s $out/nix-support/propagated-native-build-inputs $out/nix-support/propagated-user-env-packages
37+ if test -e $out/nix-support/propagated-build-inputs; then
38+ ln -s $out/nix-support/propagated-build-inputs $out/nix-support/propagated-user-env-packages
3939 fi
4040}
4141
pkgs/development/r-modules/generic-builder.nix+2−2
@@ -41,8 +41,8 @@ stdenv.mkDerivation ({
4141 '';
4242
4343 postFixup = ''
44− if test -e $out/nix-support/propagated-native-build-inputs; then
45− ln -s $out/nix-support/propagated-native-build-inputs $out/nix-support/propagated-user-env-packages
44+ if test -e $out/nix-support/propagated-build-inputs; then
45+ ln -s $out/nix-support/propagated-build-inputs $out/nix-support/propagated-user-env-packages
4646 fi
4747 '';
4848
pkgs/servers/monitoring/munin/default.nix+2−2
@@ -102,8 +102,8 @@ stdenv.mkDerivation rec {
102102 find "$out/lib/plugins" -type f -print0 | xargs -0 -L1 \
103103 sed -i -e "s|/usr/bin/||g" -e "s|/usr/sbin/||g" -e "s|\<bc\>|${bc}/bin/bc|g"
104104
105− if test -e $out/nix-support/propagated-native-build-inputs; then
106− ln -s $out/nix-support/propagated-native-build-inputs $out/nix-support/propagated-user-env-packages
105+ if test -e $out/nix-support/propagated-build-inputs; then
106+ ln -s $out/nix-support/propagated-build-inputs $out/nix-support/propagated-user-env-packages
107107 fi
108108
109109 for file in "$out"/bin/munindoc "$out"/sbin/munin-* "$out"/lib/munin-* "$out"/www/cgi/*; do
pkgs/servers/x11/xorg/builder.sh+11−15
@@ -16,22 +16,18 @@ postInstall() {
1616
1717 echo "propagating requisites $requires"
1818
19+ if test -n "$crossConfig"; then
20+ local pkgs=("${crossPkgs[@]}")
21+ else
22+ local pkgs=("${nativePkgs[@]}")
23+ fi
1924 for r in $requires; do
20− if test -n "$crossConfig"; then
21− for p in "${crossPkgs[@]}"; do
22− if test -e $p/lib/pkgconfig/$r.pc; then
23− echo " found requisite $r in $p"
24− propagatedBuildInputs="$propagatedBuildInputs $p"
25− fi
26− done
27− else
28− for p in "${nativePkgs[@]}"; do
29− if test -e $p/lib/pkgconfig/$r.pc; then
30− echo " found requisite $r in $p"
31− propagatedNativeBuildInputs="$propagatedNativeBuildInputs $p"
32− fi
33− done
34− fi
25+ for p in "${pkgs[@]}"; do
26+ if test -e $p/lib/pkgconfig/$r.pc; then
27+ echo " found requisite $r in $p"
28+ propagatedBuildInputs+=" $p"
29+ fi
30+ done
3531 done
3632}
3733
pkgs/stdenv/generic/setup.sh+30−43
@@ -239,12 +239,12 @@ isScript() {
239239
240240# printf unfortunately will print a trailing newline regardless
241241printLines() {
242− [[ "$#" -gt 0 ]] || return 0
242+ (( "$#" > 0 )) || return 0
243243 printf '%s\n' "$@"
244244}
245245
246246printWords() {
247− [[ "$#" -gt 0 ]] || return 0
247+ (( "$#" > 0 )) || return 0
248248 printf '%s ' "$@"
249249}
250250
@@ -302,9 +302,9 @@ runHook addInputsHook
302302
303303# Recursively find all build inputs.
304304findInputs() {
305− local pkg="$1"
306− local var="$2"
307− local propagatedBuildInputsFile="$3"
305+ local pkg="$1"; shift
306+ local var="$1"; shift
307+ local propagatedBuildInputsFiles=("$@")
308308
309309 # TODO(@Ericson2314): Restore using associative array once Darwin
310310 # nix-shell doesn't use impure bash. This should replace the O(n)
@@ -324,12 +324,16 @@ findInputs() {
324324 exit 1
325325 fi
326326
327− if [ -f "$pkg/nix-support/$propagatedBuildInputsFile" ]; then
327+ local file
328+ for file in "${propagatedBuildInputsFiles[@]}"; do
329+ file="$pkg/nix-support/$file"
330+ [[ -f "$file" ]] || continue
331+
328332 local pkgNext
329− for pkgNext in $(< "$pkg/nix-support/$propagatedBuildInputsFile"); do
330− findInputs "$pkgNext" "$var" "$propagatedBuildInputsFile"
333+ for pkgNext in $(< "$file"); do
334+ findInputs "$pkgNext" "$var" "${propagatedBuildInputsFiles[@]}"
331335 done
332− fi
336+ done
333337}
334338
335339# Add package to the future PATH and run setup hooks
@@ -362,26 +366,21 @@ if [ -z "${crossConfig:-}" ]; then
362366 for i in ${nativeBuildInputs:-} ${buildInputs:-} \
363367 ${defaultNativeBuildInputs:-} ${defaultBuildInputs:-} \
364368 ${propagatedNativeBuildInputs:-} ${propagatedBuildInputs:-}; do
365− findInputs "$i" nativePkgs propagated-native-build-inputs
366− done
367−
368− for i in "${nativePkgs[@]}"; do
369− activatePackage "$i"
369+ findInputs "$i" nativePkgs propagated-native-build-inputs propagated-build-inputs
370370 done
371371else
372− for i in ${buildInputs:-} ${defaultBuildInputs:-} ${propagatedBuildInputs:-}; do
373− findInputs "$i" crossPkgs propagated-build-inputs
374− done
375−
376372 for i in ${nativeBuildInputs:-} ${defaultNativeBuildInputs:-} ${propagatedNativeBuildInputs:-}; do
377373 findInputs "$i" nativePkgs propagated-native-build-inputs
378374 done
379−
380− for i in "${nativePkgs[@]}" "${crossPkgs[@]}"; do
381− activatePackage "$i"
375+ for i in ${buildInputs:-} ${defaultBuildInputs:-} ${propagatedBuildInputs:-}; do
376+ findInputs "$i" crossPkgs propagated-build-inputs
382377 done
383378fi
384379
380+for i in ${nativePkgs+"${nativePkgs[@]}"} ${crossPkgs+"${crossPkgs[@]}"}; do
381+ activatePackage "$i"
382+done
383+
385384
386385# Set the relevant environment variables to point to the build inputs
387386# found above.
@@ -898,31 +897,19 @@ fixupPhase() {
898897
899898 # Propagate build inputs and setup hook into the development output.
900899
901− if [ -z "${crossConfig:-}" ]; then
902− # Not cross-compiling - propagatedBuildInputs are handled identically to propagatedNativeBuildInputs
903− local propagated="$propagatedNativeBuildInputs"
904− if [ -n "${propagatedBuildInputs:-}" ]; then
905− propagated+="${propagated:+ }$propagatedBuildInputs"
906− fi
907− if [ -n "${propagated:-}" ]; then
908− mkdir -p "${!outputDev}/nix-support"
909− # shellcheck disable=SC2086
910− printWords $propagated > "${!outputDev}/nix-support/propagated-native-build-inputs"
911− fi
912− else
913− if [ -n "${propagatedBuildInputs:-}" ]; then
914− mkdir -p "${!outputDev}/nix-support"
915− # shellcheck disable=SC2086
916− printWords $propagatedBuildInputs > "${!outputDev}/nix-support/propagated-build-inputs"
917− fi
900+ if [ -n "${propagatedBuildInputs:-}" ]; then
901+ mkdir -p "${!outputDev}/nix-support"
902+ # shellcheck disable=SC2086
903+ printWords $propagatedBuildInputs > "${!outputDev}/nix-support/propagated-build-inputs"
904+ fi
918905
919− if [ -n "${propagatedNativeBuildInputs:-}" ]; then
920− mkdir -p "${!outputDev}/nix-support"
921− # shellcheck disable=SC2086
922− printWords $propagatedNativeBuildInputs > "${!outputDev}/nix-support/propagated-native-build-inputs"
923− fi
906+ if [ -n "${propagatedNativeBuildInputs:-}" ]; then
907+ mkdir -p "${!outputDev}/nix-support"
908+ # shellcheck disable=SC2086
909+ printWords $propagatedNativeBuildInputs > "${!outputDev}/nix-support/propagated-native-build-inputs"
924910 fi
925911
912+
926913 if [ -n "${setupHook:-}" ]; then
927914 mkdir -p "${!outputDev}/nix-support"
928915 substituteAll "$setupHook" "${!outputDev}/nix-support/setup-hook"
pkgs/tools/filesystems/ceph/generic.nix+2−2
@@ -227,9 +227,9 @@ stdenv.mkDerivation {
227227 wrapProgram $out/sbin/ceph-create-keys ${wrapArgs}
228228 wrapProgram $out/sbin/ceph-disk ${wrapArgs}
229229
230− # Bring in lib as a native build input
230+ # Bring in lib as a run-time dependency
231231 mkdir -p $out/nix-support
232− echo "$lib" > $out/nix-support/propagated-native-build-inputs
232+ echo "$lib" > $out/nix-support/propagated-build-inputs
233233
234234 # Fix the python library loading
235235 find $lib/lib -name \*.pyc -or -name \*.pyd -exec rm {} \;
pkgs/top-level/all-packages.nix+1−1
@@ -9748,7 +9748,7 @@ with pkgs;
97489748 # the hook to find catalogs is hidden by buildEnv
97499749 postBuild = ''
97509750 mkdir "$out/nix-support"
9751− cp '${libxml2.dev}/nix-support/propagated-native-build-inputs' "$out/nix-support/"
9751+ cp '${libxml2.dev}/nix-support/propagated-build-inputs' "$out/nix-support/"
97529752 '';
97539753 };
97549754