diff --git a/maintainers/maintainer-list.nix b/maintainers/maintainer-list.nix index 2fb788f41d44..57b26eba3348 100644 --- a/maintainers/maintainer-list.nix +++ b/maintainers/maintainer-list.nix @@ -417,6 +417,12 @@ githubId = 4732885; name = "Ivan Jager"; }; + aiotter = { + email = "git@aiotter.com"; + github = "aiotter"; + githubId = 37664775; + name = "Yuto Oguchi"; + }; airwoodix = { email = "airwoodix@posteo.me"; github = "airwoodix"; diff --git a/pkgs/development/compilers/zig/default.nix b/pkgs/development/compilers/zig/default.nix index a2cd8f44ce28..d64c002bf7df 100644 --- a/pkgs/development/compilers/zig/default.nix +++ b/pkgs/development/compilers/zig/default.nix @@ -1,4 +1,5 @@ { lib +, stdenv , fetchFromGitHub , cmake , llvmPackages @@ -6,9 +7,6 @@ , zlib }: -let - inherit (llvmPackages) stdenv; -in stdenv.mkDerivation rec { pname = "zig"; version = "0.9.1"; @@ -50,8 +48,7 @@ stdenv.mkDerivation rec { description = "General-purpose programming language and toolchain for maintaining robust, optimal, and reusable software"; license = licenses.mit; - maintainers = with maintainers; [ andrewrk AndersonTorres ]; + maintainers = with maintainers; [ aiotter andrewrk AndersonTorres ]; platforms = platforms.unix; - broken = stdenv.isDarwin; # See https://github.com/NixOS/nixpkgs/issues/86299 }; } diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 5c3b51e2636a..bfa1887e7598 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -21686,6 +21686,7 @@ with pkgs; libzra = callPackage ../development/libraries/libzra { }; zig = callPackage ../development/compilers/zig { + stdenv = if stdenv.isDarwin then darwin.apple_sdk_11_0.stdenv else stdenv; llvmPackages = llvmPackages_13; };