amtterm: allow compiling with gamt (#389575)

This commit is contained in:
Florian Klink
2025-03-20 17:10:56 +01:00
committed by GitHub
2 changed files with 11 additions and 1 deletions
+9 -1
View File
@@ -3,10 +3,13 @@
lib,
stdenv,
makeWrapper,
gtk3,
openssl,
perl,
perlPackages,
pkg-config,
vte,
withGamt ? false,
}:
stdenv.mkDerivation (finalAttrs: {
@@ -18,7 +21,12 @@ stdenv.mkDerivation (finalAttrs: {
perl
SOAPLite
])
++ [ openssl ];
++ [ openssl ]
++ lib.optionals withGamt [
gtk3
vte
];
nativeBuildInputs = [
makeWrapper
pkg-config
+2
View File
@@ -8752,6 +8752,8 @@ with pkgs;
protobuf = protobuf_21;
};
gamt = callPackage ../by-name/am/amtterm/package.nix { withGamt = true; };
gcr = callPackage ../development/libraries/gcr { };
gcr_4 = callPackage ../development/libraries/gcr/4.nix { };