diff options
author | Nick Cao <nickcao@nichi.co> | 2022-12-12 15:02:54 +0800 |
---|---|---|
committer | Nick Cao <nickcao@nichi.co> | 2022-12-18 09:24:50 +0800 |
commit | 16d80744cc6d275e73e5dc710d91a8e1a9d58f08 (patch) | |
tree | c4e1bbe37b2df425aff5eb5b8f20e8212ebde8a6 /pkgs/applications/networking/ndppd/default.nix | |
parent | 1fee3b24ba176694f5fa7268ab3a8036ba60c621 (diff) |
ndppd: fix cross compilation
Diffstat (limited to 'pkgs/applications/networking/ndppd/default.nix')
-rw-r--r-- | pkgs/applications/networking/ndppd/default.nix | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/pkgs/applications/networking/ndppd/default.nix b/pkgs/applications/networking/ndppd/default.nix index ccaf3e0bbbb8..df3bc9f9f236 100644 --- a/pkgs/applications/networking/ndppd/default.nix +++ b/pkgs/applications/networking/ndppd/default.nix @@ -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 = '' |