From e4dd054d28f44da9ea53dfd0a78e109a711620e5 Mon Sep 17 00:00:00 2001 From: valentin gagarin Date: Wed, 13 Nov 2024 15:24:40 +0100 Subject: [PATCH] dir is a path --- website/lib.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/website/lib.nix b/website/lib.nix index 33770db..7e8e1b1 100644 --- a/website/lib.nix +++ b/website/lib.nix @@ -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 ''; } )