diff --git a/pkgs/by-name/nh/nh/package.nix b/pkgs/by-name/nh/nh/package.nix index 51d31930e547..acb5709da6ad 100644 --- a/pkgs/by-name/nh/nh/package.nix +++ b/pkgs/by-name/nh/nh/package.nix @@ -1,7 +1,9 @@ -{ lib +{ stdenv +, lib , rustPlatform , installShellFiles , makeBinaryWrapper +, darwin , fetchFromGitHub , nix-update-script , nvd @@ -33,6 +35,8 @@ rustPlatform.buildRustPackage { makeBinaryWrapper ]; + buildInputs = lib.optionals stdenv.isDarwin [ darwin.apple_sdk.frameworks.SystemConfiguration ]; + preFixup = '' mkdir completions $out/bin/nh completions --shell bash > completions/nh.bash