mirror of
https://github.com/ryantm/agenix.git
synced 2024-11-22 17:50:48 +03:00
Merge pull request #202 from WillPower3309/main
fix: add --strict nix-instantiate to support builtins.readFile
This commit is contained in:
commit
1f677b3e16
1 changed files with 1 additions and 1 deletions
|
@ -115,7 +115,7 @@ function cleanup {
|
||||||
trap "cleanup" 0 2 3 15
|
trap "cleanup" 0 2 3 15
|
||||||
|
|
||||||
function keys {
|
function keys {
|
||||||
(@nixInstantiate@ --json --eval -E "(let rules = import $RULES; in rules.\"$FILE\".publicKeys)" | @jqBin@ -r .[]) || exit 1
|
(@nixInstantiate@ --json --eval --strict -E "(let rules = import $RULES; in rules.\"$FILE\".publicKeys)" | @jqBin@ -r .[]) || exit 1
|
||||||
}
|
}
|
||||||
|
|
||||||
function decrypt {
|
function decrypt {
|
||||||
|
|
Loading…
Reference in a new issue