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
pass: Fix dependencies on Darwin #45495
Conversation
pkgs/tools/security/pass/default.nix
Outdated
@@ -1,6 +1,7 @@ | |||
{ stdenv, lib, pkgs, fetchurl, buildEnv | |||
, coreutils, gnused, getopt, git, tree, gnupg, which, procps, qrencode | |||
, makeWrapper | |||
, openssl ? stdenv.isDarwin |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This doesn't make sense, it defines a boolean as default value for the openssl
argument - which is a derivation, not a boolean. Just openssl
should be fine.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ah, I see, thanks for the comment! I will fix this.
password-store on Darwin does not pass unit tests in sandboxed builds: - 'openssl base64' is used on Darwin to compute base64. Add openssl to the environment of pass. - t0200-edit-tests.sh tests 'pass edit', which uses hdid on Darwin. However hdid is not available in the sandbox.
@GrahamcOfBorg build pass |
Success on x86_64-linux (full log) Attempted: pass Partial log (click to expand)
|
Success on x86_64-darwin (full log) Attempted: pass Partial log (click to expand)
|
Success on aarch64-linux (full log) Attempted: pass Partial log (click to expand)
|
password-store on Darwin does not pass unit tests in sandboxed
builds:
to the environment of pass.
However hdid is not available in the sandbox.
Motivation for this change
Things done
sandbox
innix.conf
on non-NixOS)nix-shell -p nox --run "nox-review wip"
./result/bin/
)nix path-info -S
before and after)