From 59eb02116f61a70a8bdeb125329833133ef36a06 Mon Sep 17 00:00:00 2001 From: figsoda Date: Wed, 9 Aug 2023 20:55:18 -0400 Subject: treewide: use zig_0_11 instead of zig for zig packages Zig is still under active development, and new releases often introduce breaking changes. This makes updating the default version of zig easier. Some packages did not receive this change because they could be using the c compiler or linker of zig, which doesn't receive as much breaking changes compared to e.g. the zig std library. https://github.com/NixOS/nixpkgs/pull/248243#discussion_r1289401340 --- doc/hooks/zig.section.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'doc/hooks') diff --git a/doc/hooks/zig.section.md b/doc/hooks/zig.section.md index d85bcfd5c7574..483fd285f416e 100644 --- a/doc/hooks/zig.section.md +++ b/doc/hooks/zig.section.md @@ -9,14 +9,14 @@ In Nixpkgs, `zig.hook` overrides the default build, check and install phases. ```nix { lib , stdenv -, zig +, zig_0_11 }: stdenv.mkDerivation { # . . . nativeBuildInputs = [ - zig.hook + zig_0_11.hook ]; zigBuildFlags = [ "-Dman-pages=true" ]; -- cgit 1.4.1