lib.readFact: fix argument order

This commit is contained in:
Jörg Thalheim
2024-07-09 15:18:11 +02:00
parent cd6c632f3b
commit 3a035437cf

View File

@@ -9,7 +9,7 @@ let
readFact = readFact =
machine: fact: machine: fact:
let let
path = getFactPath fact machine; path = getFactPath machine fact;
in in
if builtins.pathExists path then builtins.readFile path else null; if builtins.pathExists path then builtins.readFile path else null;