coreutils: remove optionalString in postPatch
no reason to make this part conditional
This commit is contained in:
parent
6ce04af137
commit
ff0568380b
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue