mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-07-06 17:13:24 -05:00
nixos/espanso: reference the current configuration's package
Using `pkgs.espanso-wayland` here may not be referencing the package the user has configured via `espanso.package`. This resolves a build failure when using an older nixpkgs and importing the more recent version of this module. Fixes https://github.com/NixOS/nixpkgs/issues/467178
This commit is contained in:
parent
a4e0906bb4
commit
a99dfec260
1 changed files with 1 additions and 3 deletions
|
|
@ -29,9 +29,7 @@ in
|
|||
capabilities = "cap_dac_override+p";
|
||||
owner = "root";
|
||||
group = "root";
|
||||
source = lib.getExe (
|
||||
pkgs.espanso-wayland.override { securityWrapperPath = config.security.wrapperDir; }
|
||||
);
|
||||
source = lib.getExe (cfg.package.override { securityWrapperPath = config.security.wrapperDir; });
|
||||
};
|
||||
systemd.user.services.espanso = {
|
||||
description = "Espanso daemon";
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue