templates/default: footer change
All checks were successful
ci/woodpecker/push/ci Pipeline was successful

Signed-off-by: Amneesh Singh <natto@weirdnatto.in>
This commit is contained in:
2022-10-24 08:57:38 +05:30
parent c88c5d797d
commit 9227978941
2 changed files with 12 additions and 2 deletions

View File

@@ -33,8 +33,17 @@
nattopages = pkgs.stdenv.mkDerivation {
name = "nattopages";
src = cleanSrc;
phases = "unpackPhase buildPhase";
phases = "unpackPhase patchPhase 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