mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-16 06:45:16 +01:00
1password: Install polkit action file (#132478)
Co-authored-by: Daniël de Kok <me@github.danieldk.eu>
This commit is contained in:
parent
e83263ad66
commit
8eb28bed2f
1 changed files with 3 additions and 0 deletions
|
@ -86,6 +86,9 @@ stdenv.mkDerivation rec {
|
|||
substituteInPlace $out/share/applications/${pname}.desktop \
|
||||
--replace 'Exec=/opt/1Password/${pname}' 'Exec=${pname}'
|
||||
|
||||
# Polkit file
|
||||
install -Dm 0644 -t $out/share/polkit-1/actions com.1password.1Password.policy
|
||||
|
||||
# Icons
|
||||
cp -a resources/icons $out/share
|
||||
|
||||
|
|
Loading…
Reference in a new issue