From fad6fc3dae16b5161895165bf275e329e20860d6 Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Fri, 2 Jun 2017 16:47:09 +0200 Subject: [PATCH] icu: Trivial improvement --- pkgs/development/libraries/icu/default.nix | 13 ++----------- 1 file changed, 2 insertions(+), 11 deletions(-) diff --git a/pkgs/development/libraries/icu/default.nix b/pkgs/development/libraries/icu/default.nix index b64d8c84e22..fdf1c6dffe9 100644 --- a/pkgs/development/libraries/icu/default.nix +++ b/pkgs/development/libraries/icu/default.nix @@ -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