From 149efe84e9ee0cac4014cfef192482180e4fad3b Mon Sep 17 00:00:00 2001 From: valentin gagarin Date: Wed, 13 Nov 2024 15:24:40 +0100 Subject: [PATCH] rename --- website/default.nix | 4 ++-- website/{lib.nix => site.nix} | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) rename website/{lib.nix => site.nix} (98%) 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