From 3e2116f153077186556c01ae1fc89923abfea265 Mon Sep 17 00:00:00 2001 From: tv Date: Sat, 14 Nov 2026 03:45:10 +0000 Subject: populate: passage sources default identities_file when populate runs The default, toString ~/.passage/identities, is a path relative to the home directory, which Nix resolves when parsing the file defining it, populate's Nix library's types, so evaluating any sources failed in pure mode, e.g. in a flake. identities_file defaults to null, which leaves it out of the sources, and populate defaults it to ~/.passage/identities, in HOME, when it runs. The passage scenarios also run without identities_file, with HOME a directory that has .passage/identities. --- CHANGELOG.md | 3 +++ 1 file changed, 3 insertions(+) (limited to 'CHANGELOG.md') diff --git a/CHANGELOG.md b/CHANGELOG.md index 79c5ca2..bcc74ae 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -8,6 +8,9 @@ each set of arguments. `pkgs.populate-unwrapped` is the program; `pkgs.populate`, `writeDeploy`, and the other functions keep their arguments, and `pkgs.populate` also takes a target string. +- A `passage` source's `identities_file` defaults to + `~/.passage/identities` when populate runs, instead of during + evaluation. ## 1.31.1 -- cgit v1.3.1