From 3b532b40c2d1aff0ee736e642466c511cbda0eb0 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 33770db7..7e8e1b18 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 ''; } )