forked from Fediversity/fediversity.eu
dir is a path
This commit is contained in:
parent
4292bc495f
commit
d29f1a0fb0
1 changed files with 1 additions and 1 deletions
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