From 959adebff17359e7fa023f2858a3d69dccc7fb64 Mon Sep 17 00:00:00 2001 From: Valentin Gagarin Date: Fri, 11 Oct 2024 13:42:46 +0200 Subject: [PATCH] rename --- default.nix | 4 ++-- lib.nix => site.nix | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) rename lib.nix => site.nix (98%) diff --git a/default.nix b/default.nix index ce38d1c..be8a990 100644 --- a/default.nix +++ b/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/lib.nix b/site.nix similarity index 98% rename from lib.nix rename to site.nix index 8119ab5..e43da97 100644 --- a/lib.nix +++ b/site.nix @@ -6,7 +6,7 @@ rec { /** Build the web site */ - site = name: dir: + build = name: dir: let script = '' mkdir $out