diff --git a/pkgs/misc/sailsd/default.nix b/pkgs/misc/sailsd/default.nix index 7ae0ebbf84af..36593794ed7c 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;