From 4585c072975fc8ef28938b6573b38fbfb3a1a491 Mon Sep 17 00:00:00 2001
From: Julien Dessaux
Date: Fri, 1 Mar 2024 00:01:43 +0100
Subject: [PATCH] Various small fixes
---
GNUmakefile | 2 +-
README.md | 2 +-
layouts/partials/footer.html | 4 ++--
shell.nix | 1 +
4 files changed, 5 insertions(+), 4 deletions(-)
diff --git a/GNUmakefile b/GNUmakefile
index 959a943..28762ef 100644
--- a/GNUmakefile
+++ b/GNUmakefile
@@ -7,7 +7,7 @@ MAKEFLAGS += --no-builtin-rules
CACHEDIR=/tmp/hugo-cache-$(USER)
DESTDIR=public/
-HOSTNAME=$(shell hostname)
+HOSTNAME=$(shell hostname -f)
REVISION=$(shell git rev-parse HEAD)
.PHONY: build
diff --git a/README.md b/README.md
index 6ee1fae..a9dc39f 100644
--- a/README.md
+++ b/README.md
@@ -18,7 +18,7 @@ Have a good time!
## Dependencies
-go is required for the search feature. Only go version >= 1.20 on linux amd64 (Gentoo) is being regularly tested.
+go is required for the search feature. Only go version >= 1.22 on linux amd64 (Gentoo) is being regularly tested.
hugo is required in order to build the website html pages. Only hugo >= 0.111.3 is being regularly tested.
diff --git a/layouts/partials/footer.html b/layouts/partials/footer.html
index 87bcfce..520e931 100644
--- a/layouts/partials/footer.html
+++ b/layouts/partials/footer.html
@@ -1,5 +1,5 @@
diff --git a/shell.nix b/shell.nix
index 311494b..38b5c50 100644
--- a/shell.nix
+++ b/shell.nix
@@ -1,6 +1,7 @@
{ pkgs ? import {} }:
pkgs.mkShell {
+ LOCALE_ARCHIVE = "${pkgs.glibcLocales}/lib/locale/locale-archive";
name = "hugo";
nativeBuildInputs = with pkgs; [ hugo ];
}