update zig to 0.14.0

This commit is contained in:
Jeeves 2025-04-27 06:33:34 -06:00
parent e7a2656d32
commit 47acb64e25
3 changed files with 9 additions and 8 deletions

View file

@ -1,6 +1,7 @@
.{ .{
.name = "lble", .name = .lble,
.version = "0.0.0", .version = "0.0.0",
.fingerprint = 0xef773995f3db9508,
.minimum_zig_version = "0.14.0", .minimum_zig_version = "0.14.0",
.dependencies = .{}, .dependencies = .{},
.paths = .{ .paths = .{

12
flake.lock generated
View file

@ -20,11 +20,11 @@
}, },
"nixpkgs": { "nixpkgs": {
"locked": { "locked": {
"lastModified": 1736817698, "lastModified": 1745716270,
"narHash": "sha256-1m+JP9RUsbeLVv/tF1DX3Ew9Vl/fatXnlh/g5k3jcSk=", "narHash": "sha256-RWAzA8jYdFOvlTpMKPGtefFbv1okd9RXHe41boUg3Gw=",
"owner": "nixos", "owner": "nixos",
"repo": "nixpkgs", "repo": "nixpkgs",
"rev": "2b1fca3296ddd1602d2c4f104a4050e006f4b0cb", "rev": "8cfc63f4c5b32bbd3fd69b15d7671c67df4337f8",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -59,11 +59,11 @@
"nixpkgs": "nixpkgs" "nixpkgs": "nixpkgs"
}, },
"locked": { "locked": {
"lastModified": 1739237314, "lastModified": 1745718502,
"narHash": "sha256-40cMNh8VYNeStriQojG8ehmbuQm1CE0ga1p7Rshg0Kg=", "narHash": "sha256-R/hz3p17tz1CTiCCjaEb3Z7TDRNLzdHLQzIG+AltnIY=",
"owner": "Cloudef", "owner": "Cloudef",
"repo": "zig2nix", "repo": "zig2nix",
"rev": "f729393c8f73fbc075d4f1c4b837c5ca4af2ec79", "rev": "6c29a8e77cdf0a995b230e5452a4c57c17dd4b26",
"type": "github" "type": "github"
}, },
"original": { "original": {

View file

@ -6,7 +6,7 @@
outputs = { zig2nix, ... }: let outputs = { zig2nix, ... }: let
flake-utils = zig2nix.inputs.flake-utils; flake-utils = zig2nix.inputs.flake-utils;
in (flake-utils.lib.eachDefaultSystem (system: let in (flake-utils.lib.eachDefaultSystem (system: let
env = zig2nix.outputs.zig-env.${system} { zig = zig2nix.outputs.packages.${system}.zig.master.bin; }; env = zig2nix.outputs.zig-env.${system} {};
system-triple = env.lib.zigTripleFromString system; system-triple = env.lib.zigTripleFromString system;
in with builtins; with env.lib; with env.pkgs.lib; rec { in with builtins; with env.lib; with env.pkgs.lib; rec {
packages.target = genAttrs allTargetTriples (target: env.packageForTarget target ({ packages.target = genAttrs allTargetTriples (target: env.packageForTarget target ({