cdpr: fix build on darwin

This commit is contained in:
flurie 2021-11-20 18:24:38 -05:00
parent 5e59d5714a
commit 31b38fd938
No known key found for this signature in database
GPG Key ID: D963E8522F408029

View File

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