From 311c87eccac79f8f1b008f80ce88edbe3f2bbe4b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cl=C3=A9ment=20DOUIN?= Date: Mon, 25 Nov 2024 08:32:03 +0100 Subject: [PATCH] add pkg-config for non-Linux platforms --- package.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.nix b/package.nix index a14f508a..81e5befc 100644 --- a/package.nix +++ b/package.nix @@ -38,7 +38,7 @@ rustPlatform.buildRustPackage rec { ''; nativeBuildInputs = [ ] - ++ lib.optional hostPlatform.isDarwin pkg-config + ++ lib.optional (!hostPlatform.isLinux) pkg-config ++ lib.optional (installManPages || installShellCompletions) installShellFiles; buildInputs = [ ]