_1password{,-gui}: fix package not being used (#1444)
This commit is contained in:
commit
f0fbf2dbe7
2 changed files with 2 additions and 2 deletions
|
|
@ -42,7 +42,7 @@ in
|
|||
)
|
||||
|
||||
${lib.getExe pkgs.rsync} "''${rsyncFlags[@]}" \
|
||||
${pkgs._1password-gui}/Applications/1Password.app/ /Applications/1Password.app
|
||||
${cfg.package}/Applications/1Password.app/ /Applications/1Password.app
|
||||
'';
|
||||
};
|
||||
}
|
||||
|
|
|
|||
|
|
@ -24,7 +24,7 @@ in
|
|||
# Based on https://github.com/reckenrode/nixos-configs/blob/22b8357fc6ffbd0df5ce50dc417c23a807a268a2/modules/by-name/1p/1password/darwin-module.nix
|
||||
system.activationScripts.applications.text = lib.mkAfter ''
|
||||
install -o root -g wheel -m0555 -D \
|
||||
${lib.getExe pkgs._1password-cli} /usr/local/bin/op
|
||||
${lib.getExe cfg.package} /usr/local/bin/op
|
||||
'';
|
||||
};
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue