Merge pull request #325487 from SFrijters/keepassxc-go-completions

This commit is contained in:
Sandro
2024-07-10 13:48:30 +02:00
committed by GitHub
+2 -1
View File
@@ -1,4 +1,5 @@
{ lib
, stdenv
, buildGoModule
, fetchFromGitHub
, installShellFiles
@@ -19,7 +20,7 @@ buildGoModule rec {
vendorHash = "sha256-jscyNyVr+RDN1EaxIOc3aYCAVT+1eO/c+dxEsIorDIs=";
postInstall = ''
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) \