From 906f265459b56b627db3a358c887094b99a4f0d2 Mon Sep 17 00:00:00 2001 From: Nuno Mendes Date: Tue, 12 May 2026 15:31:36 +0900 Subject: [PATCH] fix: update compiler-dev flake with LLVM 22 The latest version of the zig compiler 0.17-dev uses LLVM 22 over 21. This commit updates the flake LLVM version and changes the nixpkgs.url back to use nixpkgs-unstable, as LLVM 22 is not present on nixos-25.11 --- templates/compiler-dev/flake.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/templates/compiler-dev/flake.nix b/templates/compiler-dev/flake.nix index 21e1b02e..dd20b347 100644 --- a/templates/compiler-dev/flake.nix +++ b/templates/compiler-dev/flake.nix @@ -2,7 +2,7 @@ description = "Zig compiler development."; inputs = { - nixpkgs.url = "github:NixOS/nixpkgs/nixos-25.11"; + nixpkgs.url = "github:NixOS/nixpkgs/nixpkgs-unstable"; flake-utils.url = "github:numtide/flake-utils"; # Used for shell.nix @@ -33,7 +33,7 @@ wasmtime zlib ] - ++ (with llvmPackages_21; [ + ++ (with llvmPackages_22; [ clang clang-unwrapped lld