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:
parent
872f2b76c1
commit
1186c16889
|
@ -1113,6 +1113,7 @@ in
|
|||
|
||||
pass-wayland = callPackage ../tools/security/pass {
|
||||
waylandSupport = true;
|
||||
pass = pass-wayland;
|
||||
};
|
||||
|
||||
passExtensions = recurseIntoAttrs pass.extensions;
|
||||
|
|
Loading…
Reference in a new issue