summary refs log tree commit diff
diff options
context:
space:
mode:
authorMatthew Bauer <mjbauer95@gmail.com>2016-08-12 00:09:03 -0500
committerMatthew Bauer <mjbauer95@gmail.com>2016-08-16 19:25:45 +0000
commit077005f6c4f7adab54699af4fcab24761ee96323 (patch)
tree33fb9646b7f3fcc6c4fd5a2f88dd3aec46262f40
parentb988a35436c40686adec2e2460068b3251cc3255 (diff)
sailsd: fix darwin build
-rw-r--r--pkgs/misc/sailsd/default.nix5
1 files changed, 5 insertions, 0 deletions
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;