Merge pull request #146827 from flurie/fix-cdpr-darwin

cdpr: fix build on darwin
This commit is contained in:
Artturi 2021-11-21 05:59:21 +02:00 committed by GitHub
commit 67a50ee79f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -9,6 +9,10 @@ stdenv.mkDerivation rec {
sha256 = "1idyvyafkk0ifcbi7mc65b60qia6hpsdb6s66j4ggqp7if6vblrj";
};
postPatch = ''
substituteInPlace Makefile --replace 'gcc' '"$$CC"'
'';
buildInputs = [ libpcap ];
installPhase = ''