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