From 5cfd7f08583b81e94d502de2602d5ff48d77d39a Mon Sep 17 00:00:00 2001 From: Rodrigo Arias Mallo Date: Thu, 2 Oct 2025 13:28:07 +0200 Subject: [PATCH] Fetch website from its own git repository MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Reviewed-by: Aleix Boné --- m/hut/nginx.nix | 7 +++++-- m/tent/nginx.nix | 7 +++++-- 2 files changed, 10 insertions(+), 4 deletions(-) diff --git a/m/hut/nginx.nix b/m/hut/nginx.nix index 97afc3a6..f38d587f 100644 --- a/m/hut/nginx.nix +++ b/m/hut/nginx.nix @@ -2,10 +2,13 @@ let website = pkgs.stdenv.mkDerivation { name = "jungle-web"; - src = theFlake; + src = pkgs.fetchgit { + url = "https://jungle.bsc.es/git/rarias/jungle-website.git"; + rev = "739bf0175a7f05380fe7ad7023ff1d60db1710e1"; + hash = "sha256-ea5DzhYTzZ9TmqD+x95rdNdLbxPnBluqlYH2NmBYmc4="; + }; buildInputs = [ pkgs.hugo ]; buildPhase = '' - cd web rm -rf public/ hugo ''; diff --git a/m/tent/nginx.nix b/m/tent/nginx.nix index 731b011f..45686905 100644 --- a/m/tent/nginx.nix +++ b/m/tent/nginx.nix @@ -2,10 +2,13 @@ let website = pkgs.stdenv.mkDerivation { name = "jungle-web"; - src = theFlake; + src = pkgs.fetchgit { + url = "https://jungle.bsc.es/git/rarias/jungle-website.git"; + rev = "739bf0175a7f05380fe7ad7023ff1d60db1710e1"; + hash = "sha256-ea5DzhYTzZ9TmqD+x95rdNdLbxPnBluqlYH2NmBYmc4="; + }; buildInputs = [ pkgs.hugo ]; buildPhase = '' - cd web rm -rf public/ hugo '';