openjdk: Fix hard-code to echo
svn path=/nixpkgs/trunk/; revision=28030
This commit is contained in:
parent
11f0ca9320
commit
686476b7bb
|
@ -1,4 +1,4 @@
|
|||
{stdenv, fetchurl, unzip, procps}:
|
||||
{stdenv, fetchurl, unzip, procps, coreutils}:
|
||||
|
||||
stdenv.mkDerivation {
|
||||
name = "openjdk-7b127";
|
||||
|
@ -9,4 +9,11 @@ stdenv.mkDerivation {
|
|||
};
|
||||
|
||||
buildInputs = [ unzip procps ];
|
||||
|
||||
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
|
||||
'';
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue