mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-06-12 12:45:27 +03:00
Merge pull request #146827 from flurie/fix-cdpr-darwin
cdpr: fix build on darwin
This commit is contained in:
commit
67a50ee79f
1 changed files with 4 additions and 0 deletions
|
@ -9,6 +9,10 @@ stdenv.mkDerivation rec {
|
||||||
sha256 = "1idyvyafkk0ifcbi7mc65b60qia6hpsdb6s66j4ggqp7if6vblrj";
|
sha256 = "1idyvyafkk0ifcbi7mc65b60qia6hpsdb6s66j4ggqp7if6vblrj";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
postPatch = ''
|
||||||
|
substituteInPlace Makefile --replace 'gcc' '"$$CC"'
|
||||||
|
'';
|
||||||
|
|
||||||
buildInputs = [ libpcap ];
|
buildInputs = [ libpcap ];
|
||||||
|
|
||||||
installPhase = ''
|
installPhase = ''
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue