From 68647a4de5afa4a5743e262bf62b0d7048e08a95 Mon Sep 17 00:00:00 2001 From: Eric Seidel Date: Sat, 21 Mar 2015 09:13:06 -0700 Subject: [PATCH] coreutils: don't use bare `sed` on darwin it will be BSD sed instead of GNU sed --- pkgs/tools/misc/coreutils/default.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/tools/misc/coreutils/default.nix b/pkgs/tools/misc/coreutils/default.nix index ee85a4349c1..1dc5bfaccfb 100644 --- a/pkgs/tools/misc/coreutils/default.nix +++ b/pkgs/tools/misc/coreutils/default.nix @@ -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 '';