Merge pull request #196420 from viraptor/p910nd-darwin

p910nd: fix darwin build
This commit is contained in:
Jörg Thalheim 2022-10-17 16:58:05 +02:00 committed by GitHub
commit b66a938d82
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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;