icu: Trivial improvement
This commit is contained in:
parent
445b107d93
commit
fad6fc3dae
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user