1
1
mirror of https://github.com/ryantm/agenix.git synced 2024-09-11 06:05:38 +03:00

add meta.description

closes #47
closes #48
This commit is contained in:
Ryan Mulligan 2021-07-20 08:50:08 -07:00
parent e543aa7d68
commit 85da8b7366

View File

@ -1,4 +1,5 @@
{ {
lib,
writeShellScriptBin, writeShellScriptBin,
runtimeShell, runtimeShell,
callPackage, callPackage,
@ -17,7 +18,7 @@ let
nixInstantiate = "${nix}/bin/nix-instantiate"; nixInstantiate = "${nix}/bin/nix-instantiate";
mktempBin = "${mktemp}/bin/mktemp"; mktempBin = "${mktemp}/bin/mktemp";
in in
writeShellScriptBin "agenix" '' lib.recursiveUpdate (writeShellScriptBin "agenix" ''
set -Eeuo pipefail set -Eeuo pipefail
PACKAGE="agenix" PACKAGE="agenix"
@ -177,4 +178,8 @@ function rekey {
[ $REKEY -eq 1 ] && rekey && exit 0 [ $REKEY -eq 1 ] && rekey && exit 0
edit "$FILE" && cleanup && exit 0 edit "$FILE" && cleanup && exit 0
'' '')
{
meta.description = "age-encrypted secrets for NixOS";
}