1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-19 12:11:28 +00:00

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.
This commit is contained in:
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

View file

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