From 9ab5b14d5698c2cbbe1471475892e19d9085ebf9 Mon Sep 17 00:00:00 2001 From: Matthew Bauer Date: Thu, 11 Aug 2016 22:18:38 -0500 Subject: [PATCH] genromfs: fix darwin build --- pkgs/tools/filesystems/genromfs/default.nix | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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; {