1password: Install polkit action file (#132478)

Co-authored-by: Daniël de Kok <me@github.danieldk.eu>
This commit is contained in:
David Reaver 2021-09-21 15:16:20 -07:00 committed by GitHub
parent e83263ad66
commit 8eb28bed2f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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