diff options
| author | Xe Iaso <me@xeiaso.net> | 2023-11-04 12:25:22 -0400 |
|---|---|---|
| committer | Xe Iaso <me@xeiaso.net> | 2023-11-04 12:25:22 -0400 |
| commit | fc0a43c2e584fa701edcddc1d86747865a4a14ef (patch) | |
| tree | 0502c47d83e039a8ccbf4d9951ab406804e596d6 | |
| parent | 20cf0016db142f1dd44204893716dbfed806ee49 (diff) | |
| download | x-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.nix | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -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" ]; }; |
