dir is a path
This commit is contained in:
parent
df4b003879
commit
2bb88dff9b
2
lib.nix
2
lib.nix
|
@ -10,7 +10,7 @@
|
||||||
{
|
{
|
||||||
name = html;
|
name = html;
|
||||||
value = pkgs.runCommand html { buildInputs = with pkgs; [ cmark ]; } ''
|
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
|
||||||
'';
|
'';
|
||||||
}
|
}
|
||||||
)
|
)
|
||||||
|
|
Reference in a new issue