icestorm: patch out Darwin check for sed.

Nix stdenv includes GNU sed, as you would expect.
This commit is contained in:
Charlotte 2023-07-14 23:45:44 +10:00
parent 44a7029e8c
commit b3af8a0bc3
2 changed files with 15 additions and 0 deletions

View File

@ -18,6 +18,10 @@ stdenv.mkDerivation {
sha256 = icestorm_git_sha256;
};
patches = [
./patches/icebox-Makefile.patch
];
makeFlags = [
"PREFIX=$(out)"
];

View File

@ -0,0 +1,11 @@
--- a/icebox/Makefile
+++ b/icebox/Makefile
@@ -2,7 +2,3 @@
-ifneq ($(shell uname -s),Darwin)
- SED_I = sed -i
-else
- SED_I = sed -i ''
-endif
+SED_I = sed -i