Merge pull request 'fix fact store' (#849) from Mic92-target_host into main
All checks were successful
checks / test (push) Successful in 31s
checks-impure / test (push) Successful in 1m51s

This commit is contained in:
clan-bot 2024-02-15 11:27:59 +00:00
commit eacda36bb3

View File

@ -204,7 +204,7 @@ class Machine:
((builtins.getFlake "{url}").clanInternals.machinesFunc."{system}"."{self.name}" {{
extraConfig = builtins.fromJSON (builtins.readFile (builtins.fetchTree {{
type = "file";
url = "{config_json.name}";
url = if (builtins.compareVersions builtins.nixVersion "2.19") == -1 then "{config_json.name}" else "file:{config_json.name}";
narHash = "{nar_hash}";
}}));
}}).{attr}