stdenv-setup and misc pkgs: Revert to space-deliminated propagated-* files
We cannot switch to line-delimited yet, because certain Nix commands do not read in the entire file, but just the first line.
This commit is contained in:
@@ -54,7 +54,7 @@ in stdenv.mkDerivation rec {
|
||||
find $out -name "*.so" -exec patchelf --set-rpath "$rpath" {} \;
|
||||
|
||||
mkdir -p $out/nix-support
|
||||
printLines ${setJavaClassPath} > $out/nix-support/propagated-native-build-inputs
|
||||
printWords ${setJavaClassPath} > $out/nix-support/propagated-native-build-inputs
|
||||
|
||||
# Set JAVA_HOME automatically.
|
||||
cat <<EOF >> $out/nix-support/setup-hook
|
||||
|
||||
Reference in New Issue
Block a user