From 1186c168892b0a406374221cebe74595c1a2528d Mon Sep 17 00:00:00 2001 From: Maximilian Bosch Date: Wed, 9 Sep 2020 22:40:33 +0200 Subject: [PATCH] pass-wayland: use proper derivation for `.withExtensions` The `pass.withExtensions`-function uses `buildEnv` to create a derivation which contains a `pass`-package and a list of extensions for it. However, this function always uses the `pass`-attribute for `buildEnv` which will break e.g. `passmenu` or `pass show -c` on desktops using Wayland (and `pass-wayland.withExtensions`) since the default `pass`-package without support for Wayland's clipboard is used. This patch replaces the `pass`-attribute in the derivation with `pass-wayland` to work around this issue. --- pkgs/top-level/all-packages.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index fff6dd98b46..a34dadf6399 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -1113,6 +1113,7 @@ in pass-wayland = callPackage ../tools/security/pass { waylandSupport = true; + pass = pass-wayland; }; passExtensions = recurseIntoAttrs pass.extensions;