From 09b60b8413fad42628b4ba4664fdec5c63faa5a5 Mon Sep 17 00:00:00 2001 From: Vehbi Sinan Tunalioglu Date: Tue, 28 Oct 2025 15:49:45 +0700 Subject: [PATCH 1/2] chore(deps): bump nixpkgs to nixos-25.05 This upgrades us to GHC 9.8.4. Therefore, we bumped the GHC in the static builder script, too. --- build-static.sh | 2 +- flake.lock | 8 ++++---- flake.nix | 2 +- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/build-static.sh b/build-static.sh index 76ab02e..f9152f3 100644 --- a/build-static.sh +++ b/build-static.sh @@ -9,7 +9,7 @@ ## `--enable-executable-stripping`, hence the `strip` command usage. ## GHC version: -GHC_VERSION="9.6.6" +GHC_VERSION="9.8.4" ## Docker image: DOCKER_IMAGE="quay.io/benz0li/ghc-musl:${GHC_VERSION}" diff --git a/flake.lock b/flake.lock index 39e6067..6c006c6 100644 --- a/flake.lock +++ b/flake.lock @@ -20,16 +20,16 @@ }, "nixpkgs": { "locked": { - "lastModified": 1747485343, - "narHash": "sha256-YbsZyuRE1tobO9sv0PUwg81QryYo3L1F3R3rF9bcG38=", + "lastModified": 1761468971, + "narHash": "sha256-vY2OLVg5ZTobdroQKQQSipSIkHlxOTrIF1fsMzPh8w8=", "owner": "nixos", "repo": "nixpkgs", - "rev": "9b5ac7ad45298d58640540d0323ca217f32a6762", + "rev": "78e34d1667d32d8a0ffc3eba4591ff256e80576e", "type": "github" }, "original": { "owner": "nixos", - "ref": "nixos-24.11", + "ref": "nixos-25.05", "repo": "nixpkgs", "type": "github" } diff --git a/flake.nix b/flake.nix index 438a131..d836a3b 100644 --- a/flake.nix +++ b/flake.nix @@ -2,7 +2,7 @@ description = "Haskell Project Template"; inputs = { - nixpkgs.url = "github:nixos/nixpkgs/nixos-24.11"; + nixpkgs.url = "github:nixos/nixpkgs/nixos-25.05"; flake-utils.url = "github:numtide/flake-utils"; }; From eff13e271ca0a91aa2734fda1599fcb2349617ea Mon Sep 17 00:00:00 2001 From: Vehbi Sinan Tunalioglu Date: Tue, 28 Oct 2025 15:52:50 +0700 Subject: [PATCH 2/2] chore(ci): upgrade GitHub Actions --- .github/workflows/check.yaml | 4 ++-- .github/workflows/release.yml | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/check.yaml b/.github/workflows/check.yaml index c386ba5..eb34486 100644 --- a/.github/workflows/check.yaml +++ b/.github/workflows/check.yaml @@ -10,10 +10,10 @@ jobs: steps: - name: "Checkout Codebase" - uses: "actions/checkout@v4" + uses: "actions/checkout@v5" - name: "Install Nix" - uses: "DeterminateSystems/nix-installer-action@v17" + uses: "DeterminateSystems/nix-installer-action@v20" - name: "Check, Test and Build" run: | diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index cb2a624..5abf165 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -20,11 +20,11 @@ jobs: - name: "Checkout Codebase" if: "${{ steps.release.outputs.release_created }}" - uses: "actions/checkout@v4" + uses: "actions/checkout@v5" - name: "Install Nix" if: "${{ steps.release.outputs.release_created }}" - uses: "DeterminateSystems/nix-installer-action@v17" + uses: "DeterminateSystems/nix-installer-action@v20" - name: "Build Statically Compiled Executable" if: "${{ steps.release.outputs.release_created }}"