From 9c6425bb2d5fe9626ef8ae67f007b4afa75af436 Mon Sep 17 00:00:00 2001 From: valentin gagarin Date: Wed, 13 Nov 2024 15:24:40 +0100 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 ce38d1ca..be8a990d 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 8119ab52..e43da976 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