diff --git a/pkgs/servers/p910nd/default.nix b/pkgs/servers/p910nd/default.nix index 858b5ed865e5..b6ba368d90d4 100644 --- a/pkgs/servers/p910nd/default.nix +++ b/pkgs/servers/p910nd/default.nix @@ -11,6 +11,10 @@ stdenv.mkDerivation rec { hash = "sha256-MM4o7d3L3XIRYWJ/KPM2OltlVfVA/BgMuyhJMm/BS3c="; }; + postPatch = lib.optionalString stdenv.cc.isClang '' + substituteInPlace Makefile --replace gcc clang + ''; + nativeBuildInputs = [ installShellFiles ]; enableParallelBuilding = true;