mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-07-13 21:50:33 +03:00
cdpr: fix build on darwin
This commit is contained in:
parent
5e59d5714a
commit
31b38fd938
1 changed files with 4 additions and 0 deletions
|
@ -9,6 +9,10 @@ stdenv.mkDerivation rec {
|
|||
sha256 = "1idyvyafkk0ifcbi7mc65b60qia6hpsdb6s66j4ggqp7if6vblrj";
|
||||
};
|
||||
|
||||
postPatch = ''
|
||||
substituteInPlace Makefile --replace 'gcc' '"$$CC"'
|
||||
'';
|
||||
|
||||
buildInputs = [ libpcap ];
|
||||
|
||||
installPhase = ''
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue