From 6a2e24e7ff86f3c0165a983ad9f759b53bc33bf4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rg=20Thalheim?= Date: Tue, 9 Jul 2024 15:18:11 +0200 Subject: [PATCH] lib.readFact: fix argument order --- lib/facts.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/facts.nix b/lib/facts.nix index 44bb106d..967b4482 100644 --- a/lib/facts.nix +++ b/lib/facts.nix @@ -9,7 +9,7 @@ let readFact = machine: fact: let - path = getFactPath fact machine; + path = getFactPath machine fact; in if builtins.pathExists path then builtins.readFile path else null;