From db5731dbce2e988852544ff4c9728f6c3e354856 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C5=81ukasz=20Niemier?= <~@hauleth.dev> Date: Tue, 5 Mar 2024 23:13:11 +0100 Subject: [PATCH] fix: move pkg-config from buildInputs to nativeBuildInputs --- nix/fuk.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/nix/fuk.nix b/nix/fuk.nix index 21a03f2..cf3e76d 100644 --- a/nix/fuk.nix +++ b/nix/fuk.nix @@ -20,13 +20,13 @@ rustPlatform.buildRustPackage { cargoHash = "sha256-jdiaV4B22GHKrHpuPv+eKsAt2jMv5AazLJmoEYfdUlE="; - nativeBuildInputs = [ scdoc ]; + nativeBuildInputs = [ scdoc pkg-config ]; preInstall = '' OUT=$out/man cargo xtask ''; - buildInputs = [pkg-config openssl] ++ lib.lists.optionals stdenv.isDarwin (with darwin.apple_sdk; [ + buildInputs = [openssl] ++ lib.lists.optionals stdenv.isDarwin (with darwin.apple_sdk; [ frameworks.Foundation frameworks.CoreFoundation frameworks.SystemConfiguration -- 2.51.2