diff --git a/pkgs/development/compilers/openjdk/default.nix b/pkgs/development/compilers/openjdk/default.nix index 113372fea6a9..2af153addec9 100644 --- a/pkgs/development/compilers/openjdk/default.nix +++ b/pkgs/development/compilers/openjdk/default.nix @@ -25,15 +25,9 @@ stdenv.mkDerivation rec { buildInputs = [ unzip procps ant which ]; - postUnpack = '' - substituteInPlace openjdk/jdk/make/common/shared/Defs-utils.gmk \ - --replace /bin/echo ${coreutils}/bin/echo - substituteInPlace openjdk/jdk/make/common/shared/Defs-utils.gmk \ - --replace /usr/nix/store /nix/store - ''; - makeFlags = '' MKDIR=${coreutils}/bin/mkdir \ + ECHO=${coreutils}/bin/echo \ CAT=${coreutils}/bin/cat \ GREP=${gnugrep}/bin/grep \ EGREP=${gnugrep}/bin/egrep \