summary refs log tree commit diff
path: root/pkgs
diff options
context:
space:
mode:
authorMatthew Bauer <mjbauer95@gmail.com>2016-08-11 22:18:38 -0500
committerMatthew Bauer <mjbauer95@gmail.com>2016-08-16 19:25:41 +0000
commit9ab5b14d5698c2cbbe1471475892e19d9085ebf9 (patch)
tree4a479df84af27f9baa0fca515f94e0a58b09e705 /pkgs
parentad61000697405f8c13b6e4a0f453904786111660 (diff)
downloadnixpkgs-9ab5b14d5698c2cbbe1471475892e19d9085ebf9.tar
nixpkgs-9ab5b14d5698c2cbbe1471475892e19d9085ebf9.tar.gz
nixpkgs-9ab5b14d5698c2cbbe1471475892e19d9085ebf9.tar.bz2
nixpkgs-9ab5b14d5698c2cbbe1471475892e19d9085ebf9.tar.lz
nixpkgs-9ab5b14d5698c2cbbe1471475892e19d9085ebf9.tar.xz
nixpkgs-9ab5b14d5698c2cbbe1471475892e19d9085ebf9.tar.zst
nixpkgs-9ab5b14d5698c2cbbe1471475892e19d9085ebf9.zip
genromfs: fix darwin build
Diffstat (limited to 'pkgs')
-rw-r--r--pkgs/tools/filesystems/genromfs/default.nix4
1 files changed, 3 insertions, 1 deletions
diff --git a/pkgs/tools/filesystems/genromfs/default.nix b/pkgs/tools/filesystems/genromfs/default.nix
index db1968fccdc..7bf771803c6 100644
--- a/pkgs/tools/filesystems/genromfs/default.nix
+++ b/pkgs/tools/filesystems/genromfs/default.nix
@@ -10,7 +10,9 @@ stdenv.mkDerivation rec {
   };
 
   postPatch = ''
-    substituteInPlace Makefile --replace "prefix = /usr" "prefix = $out"
+    substituteInPlace Makefile \
+      --replace "prefix = /usr" "prefix = $out" \
+      --replace "gcc" "cc"
   '';
 
   meta = with stdenv.lib; {