aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorXe Iaso <me@xeiaso.net>2023-11-04 12:25:22 -0400
committerXe Iaso <me@xeiaso.net>2023-11-04 12:25:22 -0400
commitfc0a43c2e584fa701edcddc1d86747865a4a14ef (patch)
tree0502c47d83e039a8ccbf4d9951ab406804e596d6
parent20cf0016db142f1dd44204893716dbfed806ee49 (diff)
downloadx-fc0a43c2e584fa701edcddc1d86747865a4a14ef.tar.xz
x-fc0a43c2e584fa701edcddc1d86747865a4a14ef.zip
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 <me@xeiaso.net>
-rw-r--r--flake.nix3
1 files changed, 3 insertions, 0 deletions
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" ];
};