remove the cringy nix path, nobody needs to read that

Signed-off-by: Amneesh Singh <natto@weirdnatto.in>
This commit is contained in:
2022-10-29 12:07:26 +05:30
parent af830b9f78
commit 34311d8ee2
3 changed files with 2 additions and 12 deletions

View File

@@ -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

View File

@@ -155,7 +155,7 @@ config =
defaultConfiguration
{ deployCommand =
"rsync --checksum -ave 'ssh -p 22001' \
\_site/* \
\result/* \
\root@weirdnatto.in:/var/lib/site/",
previewPort = 3333
}

View File

@@ -33,7 +33,6 @@
<a href="http://jaspervdj.be/hakyll">Hakyll</a><br>
53EC 089E F230 E47A 83BA 8F81 9594 9BD4 B853 F559<br>
<a href="/rss.xml">RSS 2.0</a><br>
These pages were built in <a href="https://{+cachix+}.cachix.org">{+nixstorepath+}</a>
<ul class="subdomains" style="list-style-type: none;">
$for(subdomains)$
<li style="display: inline-block;">