From 2bb88dff9b72284f1a5cda320633fc140ec8cbe6 Mon Sep 17 00:00:00 2001 From: Valentin Gagarin Date: Fri, 11 Oct 2024 12:31:13 +0200 Subject: [PATCH] dir is a path --- lib.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib.nix b/lib.nix index 33770db..7e8e1b1 100644 --- a/lib.nix +++ b/lib.nix @@ -10,7 +10,7 @@ { name = html; value = pkgs.runCommand html { buildInputs = with pkgs; [ cmark ]; } '' - cmark ${builtins.toFile md (import "${dir}/${name}").body} > $out + cmark ${builtins.toFile md (import (dir + "/${name}")).body} > $out ''; } )