p910nd: fix darwin build

This commit is contained in:
Stanisław Pitucha 2022-10-18 00:12:11 +11:00
parent ab6176ac5b
commit 7f094872dc

View File

@ -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;