nuttcp: Fix build on darwin
This commit is contained in:
parent
e138708d30
commit
8158cbc2b2
|
@ -17,6 +17,8 @@ stdenv.mkDerivation rec {
|
||||||
installShellFiles
|
installShellFiles
|
||||||
];
|
];
|
||||||
|
|
||||||
|
makeFlags = [ "CC=${stdenv.cc.targetPrefix}cc" ];
|
||||||
|
|
||||||
installPhase = ''
|
installPhase = ''
|
||||||
mkdir -p $out/bin
|
mkdir -p $out/bin
|
||||||
cp nuttcp-${version} $out/bin/nuttcp
|
cp nuttcp-${version} $out/bin/nuttcp
|
||||||
|
|
Loading…
Reference in a new issue