mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-11 04:02:55 +03:00
cdpr: fix build on darwin
This commit is contained in:
parent
5e59d5714a
commit
31b38fd938
@ -9,6 +9,10 @@ stdenv.mkDerivation rec {
|
||||
sha256 = "1idyvyafkk0ifcbi7mc65b60qia6hpsdb6s66j4ggqp7if6vblrj";
|
||||
};
|
||||
|
||||
postPatch = ''
|
||||
substituteInPlace Makefile --replace 'gcc' '"$$CC"'
|
||||
'';
|
||||
|
||||
buildInputs = [ libpcap ];
|
||||
|
||||
installPhase = ''
|
||||
|
Loading…
Reference in New Issue
Block a user