dir is a path

This commit is contained in:
Valentin Gagarin 2024-10-11 12:31:13 +02:00
parent df4b003879
commit 2bb88dff9b

View file

@ -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
'';
}
)