zig_0_12: drop
This commit is contained in:
parent
5db9f627f7
commit
ba90f3c54c
@ -38,6 +38,8 @@
|
||||
|
||||
- `conftest` since `0.60.0` has moved to use rego `v1` as default. To continue using `v0` use `--rego-version v0`. For more information about upgrading to Rego v1 syntax, see the [upstream docs](https://www.openpolicyagent.org/docs/latest/v0-upgrade/).
|
||||
|
||||
- Zig 0.12 has been removed.
|
||||
|
||||
- `stalwart-mail` since `0.13.0` "introduces a significant redesign of the MTA’s delivery and queueing subsystem". See [the upgrading announcement for the `0.13.0` release](https://github.com/stalwartlabs/stalwart/blob/89b561b5ca1c5a11f2a768b4a2cfef0f473b7a01/UPGRADING.md#upgrading-from-v012x-and-v011x-to-v013x).
|
||||
|
||||
- Greetd and its original greeters (`tuigreet`, `gtkgreet`, `qtgreet`, `regreet`, `wlgreet`) were moved from `greetd` namespace to top level (`greetd.tuigreet` -> `tuigreet`, `greetd.greetd` -> `greetd`, etc). The original attrs are available for compatibility as passthrus of `greetd`, but will emit a warning. They will be removed in future releases.
|
||||
|
||||
@ -1,17 +1,12 @@
|
||||
{
|
||||
lib,
|
||||
callPackage,
|
||||
llvmPackages_17,
|
||||
llvmPackages_18,
|
||||
llvmPackages_19,
|
||||
zigVersions ? { },
|
||||
}:
|
||||
let
|
||||
versions = {
|
||||
"0.12.1" = {
|
||||
llvmPackages = llvmPackages_17;
|
||||
hash = "sha256-C56jyVf16Co/XCloMLSRsbG9r/gBc8mzCdeEMHV2T2s=";
|
||||
};
|
||||
"0.13.0" = {
|
||||
llvmPackages = llvmPackages_18;
|
||||
hash = "sha256-5qSiTq+UWGOwjDVZMIrAt2cDKHkyNPBSAEjpRQUByFM=";
|
||||
|
||||
@ -81,18 +81,11 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
export ZIG_GLOBAL_CACHE_DIR="$TMPDIR/zig-cache";
|
||||
'';
|
||||
|
||||
# Zig's build looks at /usr/bin/env to find dynamic linking info. This doesn't
|
||||
# work in Nix's sandbox. Use env from our coreutils instead.
|
||||
postPatch =
|
||||
let
|
||||
zigSystemPath =
|
||||
if lib.versionAtLeast finalAttrs.version "0.12" then
|
||||
"lib/std/zig/system.zig"
|
||||
else
|
||||
"lib/std/zig/system/NativeTargetInfo.zig";
|
||||
in
|
||||
# Zig's build looks at /usr/bin/env to find dynamic linking info. This doesn't
|
||||
# work in Nix's sandbox. Use env from our coreutils instead.
|
||||
''
|
||||
substituteInPlace ${zigSystemPath} \
|
||||
substituteInPlace lib/std/zig/system.zig \
|
||||
--replace-fail "/usr/bin/env" "${lib.getExe' coreutils "env"}"
|
||||
''
|
||||
# Zig tries to access xcrun and xcode-select at the absolute system path to query the macOS SDK
|
||||
@ -112,24 +105,14 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
''
|
||||
stage3/bin/zig build langref --zig-lib-dir $(pwd)/stage3/lib/zig
|
||||
''
|
||||
else if lib.versionAtLeast finalAttrs.version "0.13" then
|
||||
else
|
||||
''
|
||||
stage3/bin/zig build langref
|
||||
''
|
||||
else
|
||||
''
|
||||
stage3/bin/zig run ../tools/docgen.zig -- ../doc/langref.html.in langref.html --zig $PWD/stage3/bin/zig
|
||||
'';
|
||||
|
||||
postInstall =
|
||||
if lib.versionAtLeast finalAttrs.version "0.13" then
|
||||
''
|
||||
install -Dm444 ../zig-out/doc/langref.html -t $doc/share/doc/zig-${finalAttrs.version}/html
|
||||
''
|
||||
else
|
||||
''
|
||||
install -Dm444 langref.html -t $doc/share/doc/zig-${finalAttrs.version}/html
|
||||
'';
|
||||
postInstall = ''
|
||||
install -Dm444 ../zig-out/doc/langref.html -t $doc/share/doc/zig-${finalAttrs.version}/html
|
||||
'';
|
||||
|
||||
doInstallCheck = true;
|
||||
installCheckPhase = ''
|
||||
|
||||
@ -2267,6 +2267,7 @@ mapAliases {
|
||||
zig_0_9 = throw "zig 0.9 has been removed, upgrade to a newer version instead"; # Added 2025-01-24
|
||||
zig_0_10 = throw "zig 0.10 has been removed, upgrade to a newer version instead"; # Added 2025-01-24
|
||||
zig_0_11 = throw "zig 0.11 has been removed, upgrade to a newer version instead"; # Added 2025-04-09
|
||||
zig_0_12 = throw "zig 0.12 has been removed, upgrade to a newer version instead"; # Added 2025-08-18
|
||||
zigbee2mqtt_1 = throw "Zigbee2MQTT 1.x has been removed, upgrade to the unversioned attribute."; # Added 2025-08-11
|
||||
zigbee2mqtt_2 = zigbee2mqtt; # Added 2025-08-11
|
||||
zimlib = throw "'zimlib' has been removed because it was an outdated and unused version of 'libzim'"; # Added 2025-03-07
|
||||
|
||||
@ -9521,12 +9521,10 @@ with pkgs;
|
||||
(rec {
|
||||
zigPackages = recurseIntoAttrs (callPackage ../development/compilers/zig { });
|
||||
|
||||
zig_0_12 = zigPackages."0.12";
|
||||
zig_0_13 = zigPackages."0.13";
|
||||
zig_0_14 = zigPackages."0.14";
|
||||
})
|
||||
zigPackages
|
||||
zig_0_12
|
||||
zig_0_13
|
||||
zig_0_14
|
||||
;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user