New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
_1password: 1.8.0 -> 1.9.1 #121828
_1password: 1.8.0 -> 1.9.1 #121828
Conversation
Result of 1 package built successfully:
1 suggestion:
Result of 1 package built successfully:
1 suggestion:
|
Hi, I'm unable to install 1password since this update. I get the following
|
xar -xf $src |
1.8.0
❯ op_1.8.0 xar -xf ~/Downloads/op_darwin_amd64_v1.8.0.pkg
❯ op_1.8.0 tree
.
├── Bom
├── PackageInfo
├── Payload
└── Scripts
0 directories, 4 files
1.9.1
❯ op_1.9.1 xar -xf ~/Downloads/op_darwin_amd64_v1.9.1.pkg
❯ op_1.9.1 tree
.
├── Distribution
└── op.pkg
├── Bom
├── PackageInfo
├── Payload
└── Scripts
1 directory, 5 files
I also have this issue. EDIT: On Darwin. |
Can confirm that: my_1password = pkgs._1password.overrideAttrs (oldAttrs: rec {
unpackPhase = ''
xar -xf $src
zcat op.pkg/Payload | cpio -i
'';
}); fixes things for me. I'll maybe see if I can open a PR for this. Edit: #122662 |
Motivation for this change
Just to update the 1password cli. They added secrets automation to the 1.9.0 release and this is just the latest release anyways.
Things done
sandbox
innix.conf
on non-NixOS linux)nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
./result/bin/
)nix path-info -S
before and after)cc @joelburget @marsam
I just want to also include that we can probably use
passthru.updateScript
, but I'm not sure how to do so correctly. The 1password docs also mentions verifying the binaries with their provided signature https://support.1password.com/command-line-getting-started/#set-up-the-command-line-tool - but I had errors with gpg receiving keys (I manually verified instead). How can we automate this for the update script? I drafted this so far, but it errors: