summary refs log tree commit diff
path: root/packages/matrix-spec.nix
diff options
context:
space:
mode:
Diffstat (limited to 'packages/matrix-spec.nix')
-rw-r--r--packages/matrix-spec.nix16
1 files changed, 8 insertions, 8 deletions
diff --git a/packages/matrix-spec.nix b/packages/matrix-spec.nix

index 01475bf..17cc4a3 100644 --- a/packages/matrix-spec.nix +++ b/packages/matrix-spec.nix
@@ -5,10 +5,10 @@ buildGoModule, hugo, cacert, - + pkgs, - - matrixSpecSrc + + matrixSpecSrc, }: let src = matrixSpecSrc; @@ -27,12 +27,12 @@ buildGoModule { # Nix doesn't play well with Hugo's "GitInfo" module, so disable it and inject # the revision from the flake. postPatch = '' -# substituteInPlace ./site/layouts/shortcodes/gitinfo.html \ -# --replace "{{ .Page.GitInfo.Hash }}" "${rev}" + # substituteInPlace ./site/layouts/shortcodes/gitinfo.html \ + # --replace "{{ .Page.GitInfo.Hash }}" "${rev}" -# substituteInPlace ./config/_default/config.yaml \ -# --replace "enableGitInfo: true" "enableGitInfo: false" - ${lib.getExe pkgs.lsd} -lAh . + # substituteInPlace ./config/_default/config.yaml \ + # --replace "enableGitInfo: true" "enableGitInfo: false" + ${lib.getExe pkgs.lsd} -lAh . ''; # Generate the Hugo site before building the Go application which embeds the