diff --git a/lib/default.nix b/lib/default.nix index 024f465..07fe91e 100644 --- a/lib/default.nix +++ b/lib/default.nix @@ -11,7 +11,9 @@ trivial // (with trivial; rec { mkImports = root: builtins.map (mkImport root); - getKeys = name: builtins.filter (k: k != "") (lib.splitString "\n" (builtins.readFile (../keys + "/${name}.keys"))); + getKeys = name: builtins.filter + (k: k != "") + (lib.splitString "\n" (builtins.readFile (mkRel ../keys "${name}.keys"))); /* List version of getKeys */ getAllKeys = names: builtins.concatLists (builtins.map getKeys names);