dir is a path

This commit is contained in:
Valentin Gagarin 2024-11-13 15:24:40 +01:00 committed by Valentin Gagarin
parent 550f318fe6
commit e4dd054d28

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