Merge pull request #234493 from wegank/procs-refactor

procs: migrate to bindgenHook
This commit is contained in:
Weijia Wang 2023-05-28 00:49:49 +03:00 committed by GitHub
commit c61487f989
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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