Merge pull request #281012 from adamcstephens/nh/fix-darwin
nh: fix darwin build
This commit is contained in:
commit
95e25092e1
1 changed files with 5 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue