1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-09-11 15:08:33 +01:00

icu: Trivial improvement

This commit is contained in:
Eelco Dolstra 2017-06-02 16:47:09 +02:00
parent 445b107d93
commit fad6fc3dae
No known key found for this signature in database
GPG key ID: 8170B4726D7198DE

View file

@ -33,18 +33,9 @@ stdenv.mkDerivation ({
echo Source root reset to ''${sourceRoot}
'';
# This pre/postPatch shenanigans is to handle that the patches expect
# to be outside of `source`.
prePatch = ''
pushd ..
'';
postPatch = ''
popd
patch -p4 < ${keywordFix}
'';
patchFlags = "-p4";
patches = [
];
patches = [ keywordFix ];
preConfigure = ''
sed -i -e "s|/bin/sh|${stdenv.shell}|" configure