Merge pull request #206649 from NickCao/ndppd-cross

ndppd: fix cross compilation
This commit is contained in:
Jörg Thalheim 2022-12-18 08:40:22 +00:00 committed by GitHub
commit 95e138ddce
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -11,12 +11,14 @@ stdenv.mkDerivation rec {
sha256 = "0niri5q9qyyyw5lmjpxk19pv3v4srjvmvyd5k6ks99mvqczjx9c0";
};
nativeBuildInputs = [ gzip ];
makeFlags = [
"PREFIX=$(out)"
];
preConfigure = ''
substituteInPlace Makefile --replace /bin/gzip ${gzip}/bin/gzip
substituteInPlace Makefile --replace /bin/gzip gzip
'';
postInstall = ''