From 42c307ef2ad804c011f5fe52fcc2fc2a76d846d9 Mon Sep 17 00:00:00 2001 From: Chris Marchesi Date: Fri, 8 Dec 2023 14:51:04 -0800 Subject: [PATCH] nix: Update nixpkgs-zig-0-12 source With the nixpkgs LLVM 17 PR (NixOS/nixpkgs#258614) now merged, we can update this flake input to base off of master so that we can take advantage of the built LLVM derivation when it's ready. This only leaves Zig 0.12 which should mean a much reduced build time. Note that of this writing, the derivations are still queued, so until that happens, this update means a rebuild of LLVM 17 for anyone using the ghostty package. --- flake.lock | 6 +++--- flake.nix | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/flake.lock b/flake.lock index d99077202..c1b9437f0 100644 --- a/flake.lock +++ b/flake.lock @@ -147,11 +147,11 @@ }, "nixpkgs-zig-0-12": { "locked": { - "lastModified": 1701575450, - "narHash": "sha256-I3hNRC+3F9RI0YL0YSUpmibCPKr+prCSJ2FWW5cuekA=", + "lastModified": 1702064370, + "narHash": "sha256-iwET6dhyYTVQsoPD8FNDjrXC00S3scCMPfopQ09SI+o=", "owner": "vancluever", "repo": "nixpkgs", - "rev": "fd803506dbed295c45931f4f5938c28e3484dee7", + "rev": "f474ae77d1f841a198ab505599a61e837ad82741", "type": "github" }, "original": { diff --git a/flake.nix b/flake.nix index af1891f43..b0ab45ab0 100644 --- a/flake.nix +++ b/flake.nix @@ -9,8 +9,8 @@ # system glibc that the user is building for. nixpkgs-stable.url = "github:nixos/nixpkgs/release-23.05"; - # This is a nixpkgs mirror (based off of nixos-unstable) that contains - # patches for LLVM 17 and Zig 0.12 (master/nightly). + # This is a nixpkgs mirror (based off of master) that contains + # patches for Zig 0.12 (master/nightly). # # This gives an up-to-date Zig that contains the nixpkgs patches, # specifically the ones relating to NativeTargetInfo