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. --- pkgs/populate/tests/smoke.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'pkgs/populate/tests/smoke.nix') diff --git a/pkgs/populate/tests/smoke.nix b/pkgs/populate/tests/smoke.nix index 45510a0..0765c7c 100644 --- a/pkgs/populate/tests/smoke.nix +++ b/pkgs/populate/tests/smoke.nix @@ -7,7 +7,7 @@ "git-local-shallow1-refs" "symlink-local-absolute0-inputs0" "pass-remote-storepass" - "passage-sudo-agedefault-dirstore" + "passage-sudo-agedefault-dirstore-identitieshome" "pipe-local" "derivation-remote" "flake-local-fetchOnTarget0-inputsrewrite-kindgit-materialize0" -- cgit v1.3.1