From 4f4979ff1e18defa15d21319e3c1ce673cbb4357 Mon Sep 17 00:00:00 2001 From: chfour Date: Tue, 21 Oct 2025 19:50:58 +0200 Subject: [PATCH] turns out you Can Indeed reference $out in the derivation build lol --- flake.nix | 3 +++ 1 file changed, 3 insertions(+) diff --git a/flake.nix b/flake.nix index 9ae749a..fed0f27 100644 --- a/flake.nix +++ b/flake.nix @@ -119,6 +119,9 @@ ln -sf ${selfPkgs.website-fonts} ./fonts ${selfPkgs.buildblog}/bin/buildblog blog/ rm blog/template_{index,page}.html + sed -i \ + "s|/nix/store/VERY5p3c14lsecretv4luereplaceme0-chfour-website|$out|" \ + index.html runHook postBuild ''; -- 2.51.2