From 85da8b73661cd048386b136a995ff278946a4055 Mon Sep 17 00:00:00 2001 From: Ryan Mulligan Date: Tue, 20 Jul 2021 08:50:08 -0700 Subject: [PATCH] add meta.description closes #47 closes #48 --- pkgs/agenix.nix | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/pkgs/agenix.nix b/pkgs/agenix.nix index 3812301..15acdc9 100644 --- a/pkgs/agenix.nix +++ b/pkgs/agenix.nix @@ -1,4 +1,5 @@ { + lib, writeShellScriptBin, runtimeShell, callPackage, @@ -17,7 +18,7 @@ let nixInstantiate = "${nix}/bin/nix-instantiate"; mktempBin = "${mktemp}/bin/mktemp"; in -writeShellScriptBin "agenix" '' +lib.recursiveUpdate (writeShellScriptBin "agenix" '' set -Eeuo pipefail PACKAGE="agenix" @@ -177,4 +178,8 @@ function rekey { [ $REKEY -eq 1 ] && rekey && exit 0 edit "$FILE" && cleanup && exit 0 -'' +'') + +{ + meta.description = "age-encrypted secrets for NixOS"; +}