diff --git a/flake.nix b/flake.nix
index 2ec9ddf..6dd6e58 100644
--- a/flake.nix
+++ b/flake.nix
@@ -33,17 +33,8 @@
nattopages = pkgs.stdenv.mkDerivation {
name = "nattopages";
src = cleanSrc;
- phases = "unpackPhase patchPhase buildPhase";
+ phases = "unpackPhase buildPhase";
nativeBuildInputs = [ site ];
- patchPhase =
- let
- cachix = "pain";
- in
- ''
- substituteInPlace templates/default.html \
- --replace '{+nixstorepath+}' $out \
- --replace '{+cachix+}' ${cachix}
- '';
buildPhase = (pkgs.lib.concatStringsSep "\n" vars) + "\n" +
''
site build
diff --git a/src/site.hs b/src/site.hs
index 1c9c174..48b36ef 100644
--- a/src/site.hs
+++ b/src/site.hs
@@ -155,7 +155,7 @@ config =
defaultConfiguration
{ deployCommand =
"rsync --checksum -ave 'ssh -p 22001' \
- \_site/* \
+ \result/* \
\root@weirdnatto.in:/var/lib/site/",
previewPort = 3333
}
diff --git a/templates/default.html b/templates/default.html
index 01634cc..efb8fcf 100644
--- a/templates/default.html
+++ b/templates/default.html
@@ -33,7 +33,6 @@
Hakyll
53EC 089E F230 E47A 83BA 8F81 9594 9BD4 B853 F559
RSS 2.0
- These pages were built in {+nixstorepath+}