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:
parent
445b107d93
commit
fad6fc3dae
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue