diff options
author | John Ericson <John.Ericson@Obsidian.Systems> | 2017-07-10 11:59:14 -0400 |
---|---|---|
committer | John Ericson <John.Ericson@Obsidian.Systems> | 2017-07-10 13:32:13 -0400 |
commit | 3cb745d5a69018829ac15f7d5a508135f6bda123 (patch) | |
tree | b12220dc50d09a0dec9cd6a174a2032e0f28748c /pkgs/development/compilers/openjdk-darwin | |
parent | f385e224e5962cc80026171249a230d7111cc9bf (diff) | |
download | nixlib-3cb745d5a69018829ac15f7d5a508135f6bda123.tar nixlib-3cb745d5a69018829ac15f7d5a508135f6bda123.tar.gz nixlib-3cb745d5a69018829ac15f7d5a508135f6bda123.tar.bz2 nixlib-3cb745d5a69018829ac15f7d5a508135f6bda123.tar.lz nixlib-3cb745d5a69018829ac15f7d5a508135f6bda123.tar.xz nixlib-3cb745d5a69018829ac15f7d5a508135f6bda123.tar.zst nixlib-3cb745d5a69018829ac15f7d5a508135f6bda123.zip |
stdenv: Store one package per line in nix-support/propagated-*
This makes those files a bit easier to read. Also, for what it's worth, it brings us one baby step closer to handling spaces in store paths. Also, I optimized handling of many transitive deps with read. Probably, not very beneficial, but nice to enforce the pkg-per-line structure. Doing so let me find much dubious code and fix it. Two misc notes: - `propagated-user-env-packages` also needed to be adjusted as sometimes it is copied to/from the propagated input files. - `local fd` should ensure that file descriptors aren't clobbered during recursion.
Diffstat (limited to 'pkgs/development/compilers/openjdk-darwin')
-rw-r--r-- | pkgs/development/compilers/openjdk-darwin/8.nix | 2 | ||||
-rw-r--r-- | pkgs/development/compilers/openjdk-darwin/default.nix | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/pkgs/development/compilers/openjdk-darwin/8.nix b/pkgs/development/compilers/openjdk-darwin/8.nix index 51effd2c7841..691829c7788a 100644 --- a/pkgs/development/compilers/openjdk-darwin/8.nix +++ b/pkgs/development/compilers/openjdk-darwin/8.nix @@ -33,7 +33,7 @@ let # any package that depends on the JRE has $CLASSPATH set up # properly. mkdir -p $out/nix-support - echo -n "${setJavaClassPath}" > $out/nix-support/propagated-native-build-inputs + printLines ${setJavaClassPath} > $out/nix-support/propagated-native-build-inputs install_name_tool -change /usr/X11/lib/libfreetype.6.dylib ${freetype}/lib/libfreetype.6.dylib $out/jre/lib/libfontmanager.dylib diff --git a/pkgs/development/compilers/openjdk-darwin/default.nix b/pkgs/development/compilers/openjdk-darwin/default.nix index 10a9eb2b3666..8ce0835fcb69 100644 --- a/pkgs/development/compilers/openjdk-darwin/default.nix +++ b/pkgs/development/compilers/openjdk-darwin/default.nix @@ -23,7 +23,7 @@ let # any package that depends on the JRE has $CLASSPATH set up # properly. mkdir -p $out/nix-support - echo -n "${setJavaClassPath}" > $out/nix-support/propagated-native-build-inputs + printLines ${setJavaClassPath} > $out/nix-support/propagated-native-build-inputs install_name_tool -change /usr/X11/lib/libfreetype.6.dylib ${freetype}/lib/libfreetype.6.dylib $out/jre/lib/libfontmanager.dylib |