lib.readFact: fix argument order
This commit is contained in:
@@ -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;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user