summary refs log tree commit diff
path: root/pkgs/misc/sailsd/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/misc/sailsd/default.nix')
-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;