git.iko.soy/typeable/nixpkgs
on master help sign in
pinentry: remove libcap null override
commit568dd5cfa793ce0c3a5cde9b558b1cbacfe32437 authorSandro Jäckel <sandro.jaeckel@gmail.com> dateFri 12 Nov 2021, 16:49 (5 years ago) parentdb93862
2 files changed+4−6
pkgs/tools/security/pinentry/default.nix+3−3 pkgs/top-level/all-packages.nix+1−3
pkgs/tools/security/pinentry/default.nix+3−3
@@ -1,7 +1,6 @@
11{ fetchurl, mkDerivation, fetchpatch, stdenv, lib, pkg-config, autoreconfHook, wrapGAppsHook
22, libgpg-error, libassuan, qtbase, wrapQtAppsHook
3−, ncurses, gtk2, gcr
4−, libcap ? null, libsecret ? null
3+, ncurses, gtk2, gcr, libcap, libsecret
54, enabledFlavors ? [ "curses" "tty" "gtk2" "emacs" ]
65 ++ lib.optionals stdenv.isLinux [ "gnome3" ]
76 ++ lib.optionals (stdenv.hostPlatform.system != "aarch64-darwin") [ "qt" ]
@@ -52,7 +51,8 @@ pinentryMkDerivation rec {
5251
5352 nativeBuildInputs = [ pkg-config autoreconfHook ]
5453 ++ concatMap(f: flavorInfo.${f}.nativeBuildInputs or []) enabledFlavors;
55− buildInputs = [ libgpg-error libassuan libcap libsecret ]
54+ buildInputs = [ libgpg-error libassuan libsecret ]
55+ ++ lib.optional (!stdenv.isDarwin) libcap
5656 ++ concatMap(f: flavorInfo.${f}.buildInputs or []) enabledFlavors;
5757
5858 dontWrapGApps = true;
pkgs/top-level/all-packages.nix+1−3
@@ -8507,9 +8507,7 @@ with pkgs;
85078507
85088508 phosh = callPackage ../applications/window-managers/phosh { };
85098509
8510− pinentry = libsForQt5.callPackage ../tools/security/pinentry {
8511− libcap = if stdenv.isDarwin then null else libcap;
8512− };
8510+ pinentry = libsForQt5.callPackage ../tools/security/pinentry { };
85138511
85148512 pinentry-curses = (lib.getOutput "curses" pinentry);
85158513 pinentry-emacs = (lib.getOutput "emacs" pinentry);