From 4c6154bd3936301be9e7bba4b7584cf9b5b30c3f Mon Sep 17 00:00:00 2001 From: Tom Hubrecht Date: Mon, 22 May 2023 15:36:53 +0200 Subject: [PATCH] lib: Use mkRel --- lib/default.nix | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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);