Merge pull request #332921 from ofalvai/keepassxc-go-unbreak-darwin

keepassxc-go: unbreak on darwin
This commit is contained in:
Florian 2024-08-13 11:04:30 +02:00 committed by GitHub
commit 6ace6a00c5
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -20,6 +20,11 @@ buildGoModule rec {
vendorHash = "sha256-jscyNyVr+RDN1EaxIOc3aYCAVT+1eO/c+dxEsIorDIs=";
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 \