From 37a27723f9726584d9183c580bd20a4f39325149 Mon Sep 17 00:00:00 2001 From: Dave Gallant Date: Sun, 31 Mar 2024 12:29:46 -0400 Subject: [PATCH] Fix shell.nix pin to 23.11 --- .github/workflows/publish.yml | 2 +- shell.nix | 13 +++++++------ 2 files changed, 8 insertions(+), 7 deletions(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 21da75ea..aa6a9793 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -31,7 +31,7 @@ jobs: - name: Setup Hugo uses: peaceiris/actions-hugo@v2 with: - hugo-version: "0.124.1" + hugo-version: "0.120.3" extended: true - run: npm ci diff --git a/shell.nix b/shell.nix index a50ac0af..26cba927 100644 --- a/shell.nix +++ b/shell.nix @@ -1,10 +1,11 @@ let - channel = "nixos-23.11"; - pkgs = import { }; + nixpkgs = fetchTarball "https://github.com/NixOS/nixpkgs/tarball/nixos-23.11"; + pkgs = import nixpkgs { config = { }; overlays = [ ]; }; in -pkgs.mkShell { - name = "hugo site"; - buildInputs = [ - pkgs.hugo + +pkgs.mkShellNoCC { + packages = with pkgs; [ + hugo ]; + }