X-Git-Url: http://git.scottworley.com/auto-upgrade-with-pinch/blobdiff_plain/edaaa0c0ab2761711c3b9217a2c7396a56d6a54e..a084161200e7edcdb818651e8b23a0757507579e:/pkgs/keyed-gpg.nix?ds=sidebyside diff --git a/pkgs/keyed-gpg.nix b/pkgs/keyed-gpg.nix index b675822..6fe1ed9 100644 --- a/pkgs/keyed-gpg.nix +++ b/pkgs/keyed-gpg.nix @@ -1,7 +1,13 @@ # Following the instructions at https://tribut.de/blog/git-commit-signatures-trusted-keys # Use with git with -c gpg.program='keyedgpg /path/to/keyfile.asc' -{ coreutils, gawk, homeless-gpg, lib, writeShellScript, }: +{ + coreutils, + gawk, + homeless-gpg, + lib, + writeShellScript, +}: keyfiles: writeShellScript "keyed-gpg" '' set -eo pipefail @@ -20,4 +26,3 @@ writeShellScript "keyed-gpg" '' ${homeless-gpg} --keyring="$keyring" "''${trusted_key_args[@]}" "$@" '' -