summary refs log tree commit diff
path: root/pkgs/development/compilers/openjdk/12.nix
diff options
context:
space:
mode:
authorRobert Hensing <roberth@users.noreply.github.com>2022-12-10 21:12:43 +0100
committerGitHub <noreply@github.com>2022-12-10 21:12:43 +0100
commit16f5747575f3da6c7f4e4ecabc54063fef31914b (patch)
tree388ee9e72e08695e4fb862f0efb1bad736aeac76 /pkgs/development/compilers/openjdk/12.nix
parentd17577b991dd855e6e3ad8f31f6c015bdcbacccf (diff)
parent11c3127e38dafdf95ca71a85b1591a29b67e0c09 (diff)
downloadnixpkgs-16f5747575f3da6c7f4e4ecabc54063fef31914b.tar
nixpkgs-16f5747575f3da6c7f4e4ecabc54063fef31914b.tar.gz
nixpkgs-16f5747575f3da6c7f4e4ecabc54063fef31914b.tar.bz2
nixpkgs-16f5747575f3da6c7f4e4ecabc54063fef31914b.tar.lz
nixpkgs-16f5747575f3da6c7f4e4ecabc54063fef31914b.tar.xz
nixpkgs-16f5747575f3da6c7f4e4ecabc54063fef31914b.tar.zst
nixpkgs-16f5747575f3da6c7f4e4ecabc54063fef31914b.zip
Merge pull request #175649 from Artturin/opt-in-structured-attrs
stdenv: support opt-in __structuredAttrs
Diffstat (limited to 'pkgs/development/compilers/openjdk/12.nix')
-rw-r--r--pkgs/development/compilers/openjdk/12.nix4
1 files changed, 2 insertions, 2 deletions
diff --git a/pkgs/development/compilers/openjdk/12.nix b/pkgs/development/compilers/openjdk/12.nix
index a8de9fe43ff..bd3defbd6b9 100644
--- a/pkgs/development/compilers/openjdk/12.nix
+++ b/pkgs/development/compilers/openjdk/12.nix
@@ -135,12 +135,12 @@ let
     postFixup = ''
       # Build the set of output library directories to rpath against
       LIBDIRS=""
-      for output in $outputs; do
+      for output in $(getAllOutputNames); do
         if [ "$output" = debug ]; then continue; fi
         LIBDIRS="$(find $(eval echo \$$output) -name \*.so\* -exec dirname {} \+ | sort | uniq | tr '\n' ':'):$LIBDIRS"
       done
       # Add the local library paths to remove dependencies on the bootstrap
-      for output in $outputs; do
+      for output in $(getAllOutputNames); do
         if [ "$output" = debug ]; then continue; fi
         OUTPUTDIR=$(eval echo \$$output)
         BINLIBS=$(find $OUTPUTDIR/bin/ -type f; find $OUTPUTDIR -name \*.so\*)