mirror of
https://github.com/ryantm/agenix.git
synced 2024-08-16 17:40:36 +03:00
fix: add --strict nix-instantiate to support builtins.readFile
This commit is contained in:
parent
8cb01a0e71
commit
e2ad357a97
@ -187,7 +187,7 @@ function edit {
|
||||
}
|
||||
|
||||
function rekey {
|
||||
FILES=$( (@nixInstantiate@ --json --eval -E "(let rules = import $RULES; in builtins.attrNames rules)" | @jqBin@ -r .[]) || exit 1)
|
||||
FILES=$( (@nixInstantiate@ --json --eval --strict -E "(let rules = import $RULES; in builtins.attrNames rules)" | @jqBin@ -r .[]) || exit 1)
|
||||
|
||||
for FILE in $FILES
|
||||
do
|
||||
|
Loading…
Reference in New Issue
Block a user