ndppd: fix cross compilation
This commit is contained in:
parent
1fee3b24ba
commit
16d80744cc
|
@ -11,12 +11,14 @@ stdenv.mkDerivation rec {
|
||||||
sha256 = "0niri5q9qyyyw5lmjpxk19pv3v4srjvmvyd5k6ks99mvqczjx9c0";
|
sha256 = "0niri5q9qyyyw5lmjpxk19pv3v4srjvmvyd5k6ks99mvqczjx9c0";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
nativeBuildInputs = [ gzip ];
|
||||||
|
|
||||||
makeFlags = [
|
makeFlags = [
|
||||||
"PREFIX=$(out)"
|
"PREFIX=$(out)"
|
||||||
];
|
];
|
||||||
|
|
||||||
preConfigure = ''
|
preConfigure = ''
|
||||||
substituteInPlace Makefile --replace /bin/gzip ${gzip}/bin/gzip
|
substituteInPlace Makefile --replace /bin/gzip gzip
|
||||||
'';
|
'';
|
||||||
|
|
||||||
postInstall = ''
|
postInstall = ''
|
||||||
|
|
Loading…
Reference in a new issue