forked from Fediversity/Fediversity
dir is a path
This commit is contained in:
parent
550f318fe6
commit
e4dd054d28
|
@ -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
|
||||
'';
|
||||
}
|
||||
)
|
||||
|
|
Loading…
Reference in a new issue