ndppd: fix cross compilation

This commit is contained in:
Nick Cao 2022-12-12 15:02:54 +08:00
parent 1fee3b24ba
commit 16d80744cc
No known key found for this signature in database

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 = ''