nixos/no-x-libs: add gpg-tui

This commit is contained in:
Izorkin 2024-01-29 12:35:22 +03:00
parent 69fb977d7a
commit fd21b17628
No known key found for this signature in database
GPG key ID: 1436C1B3F3679F09
2 changed files with 3 additions and 2 deletions

View file

@ -37,6 +37,7 @@ with lib;
ghostscript = super.ghostscript.override { cupsSupport = false; x11Support = false; };
gjs = super.gjs.overrideAttrs { doCheck = false; installTests = false; }; # avoid test dependency on gtk3
gobject-introspection = super.gobject-introspection.override { x11Support = false; };
gpg-tui = super.gpg-tui.override { x11Support = false; };
gpsd = super.gpsd.override { guiSupport = false; };
graphviz = super.graphviz-nox;
gst_all_1 = super.gst_all_1 // {

View file

@ -4,8 +4,6 @@
, fetchFromGitHub
, gpgme
, libgpg-error
, libxcb
, libxkbcommon
, pkg-config
, python3
, AppKit
@ -13,6 +11,7 @@
, libiconv
, libobjc
, libresolv
, x11Support ? true, libxcb, libxkbcommon
}:
rustPlatform.buildRustPackage rec {
@ -38,6 +37,7 @@ rustPlatform.buildRustPackage rec {
buildInputs = [
gpgme
libgpg-error
] ++ lib.optionals x11Support [
libxcb
libxkbcommon
] ++ lib.optionals stdenv.isDarwin [