graphite-cli: fix build

This commit is contained in:
Sandro Jäckel 2023-07-18 13:43:40 +02:00
parent ec51d79148
commit c701855a9b
No known key found for this signature in database
GPG Key ID: 3AF5A43A3EECC2E5

View File

@ -188,7 +188,8 @@ final: prev: {
graphite-cli = prev."@withgraphite/graphite-cli".override {
name = "graphite-cli";
nativeBuildInputs = [ pkgs.installShellFiles ];
nativeBuildInputs = with pkgs; [ installShellFiles pkg-config ];
buildInputs = with pkgs; [ cairo pango pixman ];
# 'gt completion' auto-detects zshell from environment variables:
# https://github.com/yargs/yargs/blob/2b6ba3139396b2e623aed404293f467f16590039/lib/completion.ts#L45
postInstall = ''