diff --git a/website/default.nix b/website/default.nix index ce38d1ca..be8a990d 100644 --- a/website/default.nix +++ b/website/default.nix @@ -9,10 +9,10 @@ , }: let - lib' = pkgs.callPackage ./lib.nix { }; + site = pkgs.callPackage ./site.nix { }; in { - site = lib'.site "fediversity.eu" ./content; + build = site.build "fediversity.eu" ./content; shell = pkgs.mkShellNoCC { packages = with pkgs; [ diff --git a/website/lib.nix b/website/site.nix similarity index 98% rename from website/lib.nix rename to website/site.nix index 8119ab52..e43da976 100644 --- a/website/lib.nix +++ b/website/site.nix @@ -6,7 +6,7 @@ rec { /** Build the web site */ - site = name: dir: + build = name: dir: let script = '' mkdir $out