diff options
author | Andrew Marshall <andrew@johnandrewmarshall.com> | 2024-06-12 22:20:40 -0400 |
---|---|---|
committer | Andrew Marshall <andrew@johnandrewmarshall.com> | 2024-06-12 22:31:37 -0400 |
commit | e7521ac9e28344e073080b443a9c76687d5d4d0e (patch) | |
tree | f1d90d286c9d8ab442b746a7a1c7c5bff9bc3d65 /pkgs/by-name/bi | |
parent | 36f7f612a9d9a5a024604f6952f76c71ef7e9a3c (diff) |
bitwarden-desktop: minor cleanup
- Update description to match bitwarden-cli - Prefer `lib.getExe`
Diffstat (limited to 'pkgs/by-name/bi')
-rw-r--r-- | pkgs/by-name/bi/bitwarden-desktop/package.nix | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pkgs/by-name/bi/bitwarden-desktop/package.nix b/pkgs/by-name/bi/bitwarden-desktop/package.nix index 9ae3e52f3b943..beeefaabfd31b 100644 --- a/pkgs/by-name/bi/bitwarden-desktop/package.nix +++ b/pkgs/by-name/bi/bitwarden-desktop/package.nix @@ -24,7 +24,7 @@ }: let - description = "A secure and free password manager for all of your devices"; + description = "Secure and free password manager for all of your devices"; icon = "bitwarden"; electron = electron_28; in buildNpmPackage rec { @@ -159,7 +159,7 @@ in buildNpmPackage rec { cp -r locales resources{,.pak} $out/opt/Bitwarden popd - makeWrapper '${electron}/bin/electron' "$out/bin/bitwarden" \ + makeWrapper '${lib.getExe electron}' "$out/bin/bitwarden" \ --add-flags $out/opt/Bitwarden/resources/app.asar \ --add-flags "\''${NIXOS_OZONE_WL:+\''${WAYLAND_DISPLAY:+--ozone-platform-hint=auto --enable-features=WaylandWindowDecorations}}" \ --set-default ELECTRON_IS_DEV 0 \ |