From fc0a43c2e584fa701edcddc1d86747865a4a14ef Mon Sep 17 00:00:00 2001 From: Xe Iaso Date: Sat, 4 Nov 2023 12:25:22 -0400 Subject: flake: add pkg-config to native build inputs Apparently pkg-config needs to be in native build inputs, not normal build inputs. Signed-off-by: Xe Iaso --- flake.nix | 3 +++ 1 file changed, 3 insertions(+) diff --git a/flake.nix b/flake.nix index b3b3e83..00c08ee 100644 --- a/flake.nix +++ b/flake.nix @@ -71,6 +71,7 @@ src = ./.; modules = ./gomod2nix.toml; + nativeBuildInputs = with pkgs; [ pkg-config ]; buildInputs = with pkgs; [ pkg-config libaom @@ -86,6 +87,7 @@ modules = ./gomod2nix.toml; subPackages = [ "cmd/xedn" ]; + nativeBuildInputs = with pkgs; [ pkg-config ]; buildInputs = with pkgs; [ pkg-config libaom libavif ]; }; @@ -158,6 +160,7 @@ inherit version; src = ./.; modules = ./gomod2nix.toml; + nativeBuildInputs = with pkgs; [ pkg-config ]; subPackages = [ "cmd/robocadey2" ]; }; -- cgit v1.2.3