nuttcp: Fix build on darwin

This commit is contained in:
Aaron Jheng 2023-05-11 03:37:38 +00:00
parent e138708d30
commit 8158cbc2b2
No known key found for this signature in database
GPG key ID: F6A547A869D050A3

View file

@ -17,6 +17,8 @@ stdenv.mkDerivation rec {
installShellFiles
];
makeFlags = [ "CC=${stdenv.cc.targetPrefix}cc" ];
installPhase = ''
mkdir -p $out/bin
cp nuttcp-${version} $out/bin/nuttcp