about summary refs log tree commit diff
path: root/modules/programs
diff options
context:
space:
mode:
authoraszlig <aszlig@nix.build>2021-06-16 00:38:52 +0200
committeraszlig <aszlig@nix.build>2021-06-16 00:38:52 +0200
commit4972e696285833ed542eaab1034218bf5e8b7232 (patch)
treeae6c5d55d0999cdb805941cea889a28334987038 /modules/programs
parent8093548f673f27d5a144f1ec5b8b0887f13c5e72 (diff)
modules/gnupg: Replace pinentry_* with pinentry-*
The pinentry_* variants are all aliases and the actual packages are
separated with a dash instead. Since NixOS VM tests no longer allow
aliases, we need to use the real package name instead to avoid
evaluation errors.

Signed-off-by: aszlig <aszlig@nix.build>
Diffstat (limited to 'modules/programs')
-rw-r--r--modules/programs/gnupg/default.nix6
1 files changed, 3 insertions, 3 deletions
diff --git a/modules/programs/gnupg/default.nix b/modules/programs/gnupg/default.nix
index 7d76b79f..7ac9d487 100644
--- a/modules/programs/gnupg/default.nix
+++ b/modules/programs/gnupg/default.nix
@@ -90,9 +90,9 @@ in {
 
       pinentry.program = mkOption {
         type = types.path;
-        default = "${pkgs.pinentry_gtk2}/bin/pinentry";
-        defaultText = "\${pkgs.pinentry_gtk2}/bin/pinentry";
-        example = lib.literalExample "\${pkgs.pinentry_qt}/bin/pinentry";
+        default = "${pkgs.pinentry-gtk2}/bin/pinentry";
+        defaultText = "\${pkgs.pinentry-gtk2}/bin/pinentry";
+        example = lib.literalExample "\${pkgs.pinentry-qt}/bin/pinentry";
         description = "The pinentry program to use to ask for passphrases.";
       };