diff options
Diffstat (limited to 'pkgs/by-name/ke/keepassxc-go/package.nix')
-rw-r--r-- | pkgs/by-name/ke/keepassxc-go/package.nix | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/pkgs/by-name/ke/keepassxc-go/package.nix b/pkgs/by-name/ke/keepassxc-go/package.nix index 86fb02a25ca4b..06a80b652abf1 100644 --- a/pkgs/by-name/ke/keepassxc-go/package.nix +++ b/pkgs/by-name/ke/keepassxc-go/package.nix @@ -1,4 +1,5 @@ { lib +, stdenv , buildGoModule , fetchFromGitHub , installShellFiles @@ -19,7 +20,12 @@ buildGoModule rec { vendorHash = "sha256-jscyNyVr+RDN1EaxIOc3aYCAVT+1eO/c+dxEsIorDIs="; - postInstall = '' + checkFlags = [ + # Test tries to monkey-patch the stdlib, fails with permission denied error. + "-skip=TestKeystore" + ]; + + postInstall = lib.optionalString (stdenv.buildPlatform.canExecute stdenv.hostPlatform) '' local INSTALL="$out/bin/keepassxc-go" installShellCompletion --cmd keepassxc-go \ --bash <($out/bin/keepassxc-go completion bash) \ |