coreutils: don't use bare sed on darwin

it will be BSD sed instead of GNU sed
This commit is contained in:
Eric Seidel 2015-03-21 09:13:06 -07:00
parent fb03c7d7f4
commit 68647a4de5

View File

@ -19,7 +19,7 @@ let
};
# The test tends to fail on btrfs and maybe other unusual filesystems.
postPatch = ''
postPatch = stdenv.lib.optionalString (!stdenv.isDarwin) ''
sed '2i echo Skipping dd sparse test && exit 0' -i ./tests/dd/sparse.sh
'';