coreutils: remove optionalString in postPatch

no reason to make this part conditional
This commit is contained in:
Matthew Bauer 2018-09-29 20:55:28 -05:00
parent 6ce04af137
commit ff0568380b
1 changed files with 1 additions and 1 deletions

View File

@ -26,7 +26,7 @@ stdenv.mkDerivation rec {
patches = optional stdenv.hostPlatform.isCygwin ./coreutils-8.23-4.cygwin.patch;
# The test tends to fail on btrfs and maybe other unusual filesystems.
postPatch = optionalString (!stdenv.hostPlatform.isDarwin) ''
postPatch = ''
sed '2i echo Skipping dd sparse test && exit 0' -i ./tests/dd/sparse.sh
sed '2i echo Skipping cp sparse test && exit 0' -i ./tests/cp/sparse.sh
sed '2i echo Skipping rm deep-2 test && exit 0' -i ./tests/rm/deep-2.sh