zon2nix: update to a version that is compatible with Zig 0.16 (#12259)

The `zon2nix` binary is now compiled with Zig 0.16, but it still
produces Zig 0.15 compatible output (in fact the output is identical to
previous versions).
This commit is contained in:
Mitchell Hashimoto
2026-04-13 06:43:44 -07:00
committed by GitHub
2 changed files with 28 additions and 6 deletions

32
flake.lock generated
View File

@@ -101,24 +101,46 @@
"type": "github"
}
},
"zon2nix": {
"zig_2": {
"inputs": {
"nixpkgs": [
"zon2nix",
"nixpkgs"
]
},
"locked": {
"lastModified": 1768231828,
"narHash": "sha256-wL/8Iij4T2OLkhHcc4NieOjf7YeJffaUYbCiCqKv/+0=",
"lastModified": 1775995979,
"narHash": "sha256-oeBCM9k5SLOTFfcWJKtL2gX+HOnE6+9/M6p+WfT25pY=",
"ref": "refs/heads/main",
"rev": "d6cec52cd4a55bc9cd4711828a2b74cfacf66b68",
"revCount": 1663,
"type": "git",
"url": "https://codeberg.org/jcollie/zig-overlay.git"
},
"original": {
"type": "git",
"url": "https://codeberg.org/jcollie/zig-overlay.git"
}
},
"zon2nix": {
"inputs": {
"nixpkgs": [
"nixpkgs"
],
"zig": "zig_2"
},
"locked": {
"lastModified": 1776048155,
"narHash": "sha256-aRhvYX6QFGdRVgyWeItzpMFw/43IuEFKTd5fO0B96fo=",
"owner": "jcollie",
"repo": "zon2nix",
"rev": "c28e93f3ba133d4c1b1d65224e2eebede61fd071",
"rev": "7d1743d10d3dd417a4d3496abe8320e560173141",
"type": "github"
},
"original": {
"owner": "jcollie",
"ref": "0.16",
"repo": "zon2nix",
"rev": "c28e93f3ba133d4c1b1d65224e2eebede61fd071",
"type": "github"
}
}

View File

@@ -32,7 +32,7 @@
};
zon2nix = {
url = "github:jcollie/zon2nix?rev=c28e93f3ba133d4c1b1d65224e2eebede61fd071";
url = "github:jcollie/zon2nix?ref=0.16";
inputs = {
nixpkgs.follows = "nixpkgs";
};