mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-11 15:27:20 +03:00
Allow lsof to build on darwin (fixes #2219)
Closes #2219, closes #2223 Signed-off-by: Austin Seipp <aseipp@pobox.com>
This commit is contained in:
parent
c3efd1a3f7
commit
b296895abe
@ -12,7 +12,9 @@ stdenv.mkDerivation {
|
||||
|
||||
preBuild = "sed -i Makefile -e 's/^CFGF=/& -DHASIPv6=1/;';";
|
||||
|
||||
configurePhase = "./Configure -n linux;";
|
||||
configurePhase = if stdenv.isDarwin
|
||||
then "./Configure -n darwin;"
|
||||
else "./Configure -n linux;";
|
||||
|
||||
installPhase = ''
|
||||
mkdir -p $out/bin $out/man/man8
|
||||
|
Loading…
Reference in New Issue
Block a user