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.
commit1186c168892b0a406374221cebe74595c1a2528d
authorMaximilian Bosch <maximilian@mbosch.me>
dateWed 9 Sep 2020, 22:40 (6 years ago)
parent872f2b7
pkgs/top-level/all-packages.nix+1
@@ -1113,6 +1113,7 @@ in
11131113
11141114 pass-wayland = callPackage ../tools/security/pass {
11151115 waylandSupport = true;
1116+ pass = pass-wayland;
11161117 };
11171118
11181119 passExtensions = recurseIntoAttrs pass.extensions;