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.
gstqt5
Maximilian Bosch 2020-09-09 22:40:33 +02:00
parent 872f2b76c1
commit 1186c16889
No known key found for this signature in database
GPG Key ID: 091DBF4D1FC46B8E
1 changed files with 1 additions and 0 deletions

View File

@ -1113,6 +1113,7 @@ in
pass-wayland = callPackage ../tools/security/pass {
waylandSupport = true;
pass = pass-wayland;
};
passExtensions = recurseIntoAttrs pass.extensions;