diff options
author | Weijia Wang <9713184+wegank@users.noreply.github.com> | 2023-05-27 23:25:16 +0300 |
---|---|---|
committer | Weijia Wang <9713184+wegank@users.noreply.github.com> | 2023-05-27 23:25:16 +0300 |
commit | 3df669965184571f861e5e1e8a7c315198b83e31 (patch) | |
tree | 0386660f718e47e711305bc8c555a73e2e20a9db /pkgs/tools/admin | |
parent | f7947266171e6e29a0886a28f693aa03c2402767 (diff) |
procs: migrate to bindgenHook
Diffstat (limited to 'pkgs/tools/admin')
-rw-r--r-- | pkgs/tools/admin/procs/default.nix | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/pkgs/tools/admin/procs/default.nix b/pkgs/tools/admin/procs/default.nix index 1effea02d9940..4da957880b19e 100644 --- a/pkgs/tools/admin/procs/default.nix +++ b/pkgs/tools/admin/procs/default.nix @@ -13,9 +13,8 @@ rustPlatform.buildRustPackage rec { cargoHash = "sha256-B+LpUErsvtLYn+Xvq4KNBpLR9WYe38yMWHUNsd9jIs8="; - nativeBuildInputs = [ installShellFiles ]; - - LIBCLANG_PATH = lib.optionals stdenv.isDarwin "${stdenv.cc.cc.lib}/lib/"; + nativeBuildInputs = [ installShellFiles ] + ++ lib.optionals stdenv.isDarwin [ rustPlatform.bindgenHook ]; postInstall = '' for shell in bash fish zsh; do |