From 077005f6c4f7adab54699af4fcab24761ee96323 Mon Sep 17 00:00:00 2001 From: Matthew Bauer Date: Fri, 12 Aug 2016 00:09:03 -0500 Subject: sailsd: fix darwin build --- pkgs/misc/sailsd/default.nix | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'pkgs/misc/sailsd') diff --git a/pkgs/misc/sailsd/default.nix b/pkgs/misc/sailsd/default.nix index 7ae0ebbf84af9..36593794ed7cb 100644 --- a/pkgs/misc/sailsd/default.nix +++ b/pkgs/misc/sailsd/default.nix @@ -28,6 +28,11 @@ stdenv.mkDerivation rec { chmod 755 -R $sourceRoot/libsailing ''; + patchPhase = '' + substituteInPlace Makefile \ + --replace gcc cc + ''; + meta = with stdenv.lib; { description = "Simulator daemon for autonomous sailing boats"; homepage = https://github.com/sails-simulator/sailsd; -- cgit 1.4.1