about summary refs log tree commit diff
path: root/doc/hooks
diff options
context:
space:
mode:
authorfigsoda <figsoda@pm.me>2023-08-09 20:55:18 -0400
committerAnderson Torres <torres.anderson.85@protonmail.com>2023-08-10 02:37:53 +0000
commit59eb02116f61a70a8bdeb125329833133ef36a06 (patch)
tree05c030da9a5c4e0d172558cf40a16541a1413033 /doc/hooks
parent17d404ee80589efa8473cf1b50d031487329419a (diff)
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
Diffstat (limited to 'doc/hooks')
-rw-r--r--doc/hooks/zig.section.md4
1 files changed, 2 insertions, 2 deletions
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" ];