Skip to content

Commit

Permalink
Merge pull request #202 from WillPower3309/main
Browse files Browse the repository at this point in the history
fix: add --strict nix-instantiate to support builtins.readFile
  • Loading branch information
ryantm authored Sep 22, 2023
2 parents 7f9dfa3 + 115e561 commit 1f677b3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkgs/agenix.sh
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ function cleanup {
trap "cleanup" 0 2 3 15

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 {
Expand Down

0 comments on commit 1f677b3

Please sign in to comment.