From 3bb64a831f0f6446de720b16f54ff8817042c2c6 Mon Sep 17 00:00:00 2001 From: Muki Kiboigo Date: Tue, 17 Dec 2024 19:47:24 -0800 Subject: [PATCH] chore(nix): update flake --- flake.lock | 652 ++++++++++++++++++++++++++++++++++++++++++++++++++--- flake.nix | 42 ++-- 2 files changed, 631 insertions(+), 63 deletions(-) diff --git a/flake.lock b/flake.lock index 2451aa0..57e83c6 100644 --- a/flake.lock +++ b/flake.lock @@ -1,5 +1,29 @@ { "nodes": { + "binned_allocator": { + "flake": false, + "locked": { + "narHash": "sha256-m/kr4kmkG2rLkAj5YwvM0HmXTd+chAiQHzYK6ozpWlw=", + "type": "tarball", + "url": "https://gist.github.com/antlilja/8372900fcc09e38d7b0b6bbaddad3904/archive/6c3321e0969ff2463f8335da5601986cf2108690.tar.gz" + }, + "original": { + "type": "tarball", + "url": "https://gist.github.com/antlilja/8372900fcc09e38d7b0b6bbaddad3904/archive/6c3321e0969ff2463f8335da5601986cf2108690.tar.gz" + } + }, + "diffz": { + "flake": false, + "locked": { + "narHash": "sha256-3CdYo6WevT0alRwKmbABahjhFKz7V9rdkDUZ43VtDeU=", + "type": "tarball", + "url": "https://github.com/ziglibs/diffz/archive/90353d401c59e2ca5ed0abe5444c29ad3d7489aa.tar.gz" + }, + "original": { + "type": "tarball", + "url": "https://github.com/ziglibs/diffz/archive/90353d401c59e2ca5ed0abe5444c29ad3d7489aa.tar.gz" + } + }, "flake-compat": { "flake": false, "locked": { @@ -17,6 +41,54 @@ } }, "flake-compat_2": { + "flake": false, + "locked": { + "lastModified": 1673956053, + "narHash": "sha256-4gtG9iQuiKITOjNQQeQIpoIB6b16fm+504Ch3sNKLd8=", + "owner": "edolstra", + "repo": "flake-compat", + "rev": "35bb57c0c8d8b62bbfd284272c928ceb64ddbde9", + "type": "github" + }, + "original": { + "owner": "edolstra", + "repo": "flake-compat", + "type": "github" + } + }, + "flake-compat_3": { + "flake": false, + "locked": { + "lastModified": 1673956053, + "narHash": "sha256-4gtG9iQuiKITOjNQQeQIpoIB6b16fm+504Ch3sNKLd8=", + "owner": "edolstra", + "repo": "flake-compat", + "rev": "35bb57c0c8d8b62bbfd284272c928ceb64ddbde9", + "type": "github" + }, + "original": { + "owner": "edolstra", + "repo": "flake-compat", + "type": "github" + } + }, + "flake-compat_4": { + "flake": false, + "locked": { + "lastModified": 1696426674, + "narHash": "sha256-kvjfFW7WAETZlt09AgDn1MrtKzP7t90Vf7vypd3OL1U=", + "owner": "edolstra", + "repo": "flake-compat", + "rev": "0f9255e01c2351cc7d116c072cb317785dd33b33", + "type": "github" + }, + "original": { + "owner": "edolstra", + "repo": "flake-compat", + "type": "github" + } + }, + "flake-compat_5": { "flake": false, "locked": { "lastModified": 1696426674, @@ -37,11 +109,11 @@ "systems": "systems" }, "locked": { - "lastModified": 1726560853, - "narHash": "sha256-X6rJYSESBVr3hBoH0WbKE5KvhPU5bloyZ2L4K60/fPQ=", + "lastModified": 1731533236, + "narHash": "sha256-l0KFg5HjrsfsO/JpG+r7fRrqm12kzFHyUHqHCVpMMbI=", "owner": "numtide", "repo": "flake-utils", - "rev": "c1dfcf08411b08f6b8615f7d8971a2bfa81d5e8a", + "rev": "11707dc2f618dd54ca8739b309ec4fc024de578b", "type": "github" }, "original": { @@ -50,9 +122,27 @@ "type": "github" } }, - "flake-utils_2": { + "flake-utils_10": { "inputs": { - "systems": "systems_2" + "systems": "systems_8" + }, + "locked": { + "lastModified": 1731533236, + "narHash": "sha256-l0KFg5HjrsfsO/JpG+r7fRrqm12kzFHyUHqHCVpMMbI=", + "owner": "numtide", + "repo": "flake-utils", + "rev": "11707dc2f618dd54ca8739b309ec4fc024de578b", + "type": "github" + }, + "original": { + "owner": "numtide", + "repo": "flake-utils", + "type": "github" + } + }, + "flake-utils_11": { + "inputs": { + "systems": "systems_9" }, "locked": { "lastModified": 1705309234, @@ -68,10 +158,79 @@ "type": "github" } }, + "flake-utils_2": { + "inputs": { + "systems": "systems_2" + }, + "locked": { + "lastModified": 1731533236, + "narHash": "sha256-l0KFg5HjrsfsO/JpG+r7fRrqm12kzFHyUHqHCVpMMbI=", + "owner": "numtide", + "repo": "flake-utils", + "rev": "11707dc2f618dd54ca8739b309ec4fc024de578b", + "type": "github" + }, + "original": { + "owner": "numtide", + "repo": "flake-utils", + "type": "github" + } + }, "flake-utils_3": { "inputs": { "systems": "systems_3" }, + "locked": { + "lastModified": 1705309234, + "narHash": "sha256-uNRRNRKmJyCRC/8y1RqBkqWBLM034y4qN7EprSdmgyA=", + "owner": "numtide", + "repo": "flake-utils", + "rev": "1ef2e671c3b0c19053962c07dbda38332dcebf26", + "type": "github" + }, + "original": { + "owner": "numtide", + "repo": "flake-utils", + "type": "github" + } + }, + "flake-utils_4": { + "inputs": { + "systems": "systems_4" + }, + "locked": { + "lastModified": 1689068808, + "narHash": "sha256-6ixXo3wt24N/melDWjq70UuHQLxGV8jZvooRanIHXw0=", + "owner": "numtide", + "repo": "flake-utils", + "rev": "919d646de7be200f3bf08cb76ae1f09402b6f9b4", + "type": "github" + }, + "original": { + "owner": "numtide", + "repo": "flake-utils", + "type": "github" + } + }, + "flake-utils_5": { + "locked": { + "lastModified": 1659877975, + "narHash": "sha256-zllb8aq3YO3h8B/U0/J1WBgAL8EX5yWf5pMj3G0NAmc=", + "owner": "numtide", + "repo": "flake-utils", + "rev": "c0e246b9b83f637f4681389ecabcb2681b4f3af0", + "type": "github" + }, + "original": { + "owner": "numtide", + "repo": "flake-utils", + "type": "github" + } + }, + "flake-utils_6": { + "inputs": { + "systems": "systems_5" + }, "locked": { "lastModified": 1710146030, "narHash": "sha256-SZ5L6eA7HJ/nmkzGG7/ISclqe6oZdOZTNoesiInkXPQ=", @@ -86,9 +245,42 @@ "type": "github" } }, - "flake-utils_4": { + "flake-utils_7": { + "locked": { + "lastModified": 1659877975, + "narHash": "sha256-zllb8aq3YO3h8B/U0/J1WBgAL8EX5yWf5pMj3G0NAmc=", + "owner": "numtide", + "repo": "flake-utils", + "rev": "c0e246b9b83f637f4681389ecabcb2681b4f3af0", + "type": "github" + }, + "original": { + "owner": "numtide", + "repo": "flake-utils", + "type": "github" + } + }, + "flake-utils_8": { "inputs": { - "systems": "systems_4" + "systems": "systems_6" + }, + "locked": { + "lastModified": 1710146030, + "narHash": "sha256-SZ5L6eA7HJ/nmkzGG7/ISclqe6oZdOZTNoesiInkXPQ=", + "owner": "numtide", + "repo": "flake-utils", + "rev": "b1d9ab70662946ef0850d488da1c9019f3a9752a", + "type": "github" + }, + "original": { + "owner": "numtide", + "repo": "flake-utils", + "type": "github" + } + }, + "flake-utils_9": { + "inputs": { + "systems": "systems_7" }, "locked": { "lastModified": 1705309234, @@ -107,7 +299,52 @@ "gitignore": { "inputs": { "nixpkgs": [ - "zls", + "iguana", + "zls-0-11", + "nixpkgs" + ] + }, + "locked": { + "lastModified": 1660459072, + "narHash": "sha256-8DFJjXG8zqoONA1vXtgeKXy68KdJL5UaXR8NtVMUbx8=", + "owner": "hercules-ci", + "repo": "gitignore.nix", + "rev": "a20de23b925fd8264fd7fad6454652e142fd7f73", + "type": "github" + }, + "original": { + "owner": "hercules-ci", + "repo": "gitignore.nix", + "type": "github" + } + }, + "gitignore_2": { + "inputs": { + "nixpkgs": [ + "iguana", + "zls-0-12", + "nixpkgs" + ] + }, + "locked": { + "lastModified": 1709087332, + "narHash": "sha256-HG2cCnktfHsKV0s4XW83gU3F57gaTljL9KNSuG6bnQs=", + "owner": "hercules-ci", + "repo": "gitignore.nix", + "rev": "637db329424fd7e46cf4185293b9cc8c88c95394", + "type": "github" + }, + "original": { + "owner": "hercules-ci", + "repo": "gitignore.nix", + "type": "github" + } + }, + "gitignore_3": { + "inputs": { + "nixpkgs": [ + "iguana", + "zls-0-13", "nixpkgs" ] }, @@ -125,7 +362,77 @@ "type": "github" } }, + "gitignore_4": { + "inputs": { + "nixpkgs": [ + "iguana", + "zls-master", + "nixpkgs" + ] + }, + "locked": { + "lastModified": 1709087332, + "narHash": "sha256-HG2cCnktfHsKV0s4XW83gU3F57gaTljL9KNSuG6bnQs=", + "owner": "hercules-ci", + "repo": "gitignore.nix", + "rev": "637db329424fd7e46cf4185293b9cc8c88c95394", + "type": "github" + }, + "original": { + "owner": "hercules-ci", + "repo": "gitignore.nix", + "type": "github" + } + }, + "iguana": { + "inputs": { + "flake-utils": "flake-utils_2", + "nixpkgs": "nixpkgs", + "zigPkgs": "zigPkgs", + "zls-0-11": "zls-0-11", + "zls-0-12": "zls-0-12", + "zls-0-13": "zls-0-13", + "zls-master": "zls-master" + }, + "locked": { + "lastModified": 1734161147, + "narHash": "sha256-MZWT0mZ0IL+rvyTepCt6tgsEJo87jOcoAu2DkU9Vj5E=", + "owner": "mookums", + "repo": "iguana", + "rev": "b4faa5f4f1ce107fb5a8d30968facbd1b3a56762", + "type": "github" + }, + "original": { + "owner": "mookums", + "repo": "iguana", + "type": "github" + } + }, + "known_folders": { + "flake": false, + "locked": { + "narHash": "sha256-U/h4bVarq8CFKbFyNXKl3vBRPubYooLxA1xUz3qMGPE=", + "type": "tarball", + "url": "https://github.com/ziglibs/known-folders/archive/fa75e1bc672952efa0cf06160bbd942b47f6d59b.tar.gz" + }, + "original": { + "type": "tarball", + "url": "https://github.com/ziglibs/known-folders/archive/fa75e1bc672952efa0cf06160bbd942b47f6d59b.tar.gz" + } + }, "langref": { + "flake": false, + "locked": { + "narHash": "sha256-Kz+m9yeJgAsUfNwGG6ZDqZ3ElLZMeQmVYzgg0EEUzV4=", + "type": "file", + "url": "https://raw.githubusercontent.com/ziglang/zig/a685ab1499d6560c523f0dbce2890dc140671e43/doc/langref.html.in" + }, + "original": { + "type": "file", + "url": "https://raw.githubusercontent.com/ziglang/zig/a685ab1499d6560c523f0dbce2890dc140671e43/doc/langref.html.in" + } + }, + "langref_2": { "flake": false, "locked": { "narHash": "sha256-O6p2tiKD8ZMhSX+DeA/o5hhAvcPkU2J9lFys/r11peY=", @@ -139,18 +446,14 @@ }, "nixpkgs": { "locked": { - "lastModified": 1731172921, - "narHash": "sha256-LTwbJCRZua1cZCiaisO1pnX446EKSZcYy9730jX1F4w=", - "owner": "nixos", - "repo": "nixpkgs", - "rev": "0b88841b5eb61720be435a9e40f69bd853fa232c", - "type": "github" + "lastModified": 0, + "narHash": "sha256-KH1RiOM/SffLQdwg5owXY8jo1vViYdcNpJhZESU/tx8=", + "path": "/nix/store/agb8zj441wp4r3fw70z3lv2axxnm8ywq-source", + "type": "path" }, "original": { - "owner": "nixos", - "ref": "release-24.05", - "repo": "nixpkgs", - "type": "github" + "id": "nixpkgs", + "type": "indirect" } }, "nixpkgs_2": { @@ -170,6 +473,38 @@ } }, "nixpkgs_3": { + "locked": { + "lastModified": 1691155369, + "narHash": "sha256-CIuJO5pgwCMsZM8flIU2OiZ79QfDCesXPsAiokCzlNM=", + "owner": "NixOS", + "repo": "nixpkgs", + "rev": "7d050b98e51cdbdd88ad960152d398d41c7ff5b4", + "type": "github" + }, + "original": { + "owner": "NixOS", + "ref": "nixpkgs-unstable", + "repo": "nixpkgs", + "type": "github" + } + }, + "nixpkgs_4": { + "locked": { + "lastModified": 1713828541, + "narHash": "sha256-KtvQeE12MSkCOhvVmnmcZCjnx7t31zWin2XVSDOwBDE=", + "owner": "NixOS", + "repo": "nixpkgs", + "rev": "b500489fd3cf653eafc075f9362423ad5cdd8676", + "type": "github" + }, + "original": { + "owner": "NixOS", + "ref": "nixos-23.11", + "repo": "nixpkgs", + "type": "github" + } + }, + "nixpkgs_5": { "locked": { "lastModified": 1717696253, "narHash": "sha256-1+ua0ggXlYYPLTmMl3YeYYsBXDSCqT+Gw3u6l4gvMhA=", @@ -185,12 +520,43 @@ "type": "github" } }, + "nixpkgs_6": { + "locked": { + "lastModified": 1733412085, + "narHash": "sha256-FillH0qdWDt/nlO6ED7h4cmN+G9uXwGjwmCnHs0QVYM=", + "owner": "NixOS", + "repo": "nixpkgs", + "rev": "4dc2fc4e62dbf62b84132fe526356fbac7b03541", + "type": "github" + }, + "original": { + "owner": "NixOS", + "ref": "nixos-24.11", + "repo": "nixpkgs", + "type": "github" + } + }, + "nixpkgs_7": { + "locked": { + "lastModified": 1734465047, + "narHash": "sha256-60yR+QPBLsZktRn7WHrYA5hRphOabWx4BAAXG7GiVlo=", + "owner": "nixos", + "repo": "nixpkgs", + "rev": "9294f1b44c212d8795ceae7bc353fa62596d16c0", + "type": "github" + }, + "original": { + "owner": "nixos", + "ref": "release-24.05", + "repo": "nixpkgs", + "type": "github" + } + }, "root": { "inputs": { "flake-utils": "flake-utils", - "nixpkgs": "nixpkgs", - "zig": "zig", - "zls": "zls" + "iguana": "iguana", + "nixpkgs": "nixpkgs_7" } }, "systems": { @@ -253,18 +619,97 @@ "type": "github" } }, - "zig": { + "systems_5": { + "locked": { + "lastModified": 1681028828, + "narHash": "sha256-Vy1rq5AaRuLzOxct8nz4T6wlgyUR7zLU309k9mBC768=", + "owner": "nix-systems", + "repo": "default", + "rev": "da67096a3b9bf56a91d16901293e51ba5b49a27e", + "type": "github" + }, + "original": { + "owner": "nix-systems", + "repo": "default", + "type": "github" + } + }, + "systems_6": { + "locked": { + "lastModified": 1681028828, + "narHash": "sha256-Vy1rq5AaRuLzOxct8nz4T6wlgyUR7zLU309k9mBC768=", + "owner": "nix-systems", + "repo": "default", + "rev": "da67096a3b9bf56a91d16901293e51ba5b49a27e", + "type": "github" + }, + "original": { + "owner": "nix-systems", + "repo": "default", + "type": "github" + } + }, + "systems_7": { + "locked": { + "lastModified": 1681028828, + "narHash": "sha256-Vy1rq5AaRuLzOxct8nz4T6wlgyUR7zLU309k9mBC768=", + "owner": "nix-systems", + "repo": "default", + "rev": "da67096a3b9bf56a91d16901293e51ba5b49a27e", + "type": "github" + }, + "original": { + "owner": "nix-systems", + "repo": "default", + "type": "github" + } + }, + "systems_8": { + "locked": { + "lastModified": 1681028828, + "narHash": "sha256-Vy1rq5AaRuLzOxct8nz4T6wlgyUR7zLU309k9mBC768=", + "owner": "nix-systems", + "repo": "default", + "rev": "da67096a3b9bf56a91d16901293e51ba5b49a27e", + "type": "github" + }, + "original": { + "owner": "nix-systems", + "repo": "default", + "type": "github" + } + }, + "systems_9": { + "locked": { + "lastModified": 1681028828, + "narHash": "sha256-Vy1rq5AaRuLzOxct8nz4T6wlgyUR7zLU309k9mBC768=", + "owner": "nix-systems", + "repo": "default", + "rev": "da67096a3b9bf56a91d16901293e51ba5b49a27e", + "type": "github" + }, + "original": { + "owner": "nix-systems", + "repo": "default", + "type": "github" + } + }, + "zig-overlay": { "inputs": { - "flake-compat": "flake-compat", - "flake-utils": "flake-utils_2", - "nixpkgs": "nixpkgs_2" + "flake-compat": "flake-compat_2", + "flake-utils": "flake-utils_5", + "nixpkgs": [ + "iguana", + "zls-0-11", + "nixpkgs" + ] }, "locked": { - "lastModified": 1731154207, - "narHash": "sha256-hWLW7Bt/6614gxX0tbnSW9aJMahOAIQW+LC5HZix+XA=", + "lastModified": 1691195023, + "narHash": "sha256-Ud0wU0LospRfKgpfggFSmKVH0Vywww1WozsvQNEUhjo=", "owner": "mitchellh", "repo": "zig-overlay", - "rev": "9f756b991d0fe79f322432dcd6e97e4ffccceb61", + "rev": "5b4dec84f870c21f8110f18640f8d4da87e99210", "type": "github" }, "original": { @@ -273,12 +718,37 @@ "type": "github" } }, - "zig-overlay": { + "zig-overlay_2": { "inputs": { - "flake-compat": "flake-compat_2", - "flake-utils": "flake-utils_4", + "flake-compat": "flake-compat_3", + "flake-utils": "flake-utils_7", "nixpkgs": [ - "zls", + "iguana", + "zls-0-12", + "nixpkgs" + ] + }, + "locked": { + "lastModified": 1714046887, + "narHash": "sha256-n+N6nvBAT4PEI/v3mltjL1sMb45Wvk4cEBprp2Criag=", + "owner": "mitchellh", + "repo": "zig-overlay", + "rev": "3e69e5e0fbfb493d0e793b324bbbff2c7e1c8360", + "type": "github" + }, + "original": { + "owner": "mitchellh", + "repo": "zig-overlay", + "type": "github" + } + }, + "zig-overlay_3": { + "inputs": { + "flake-compat": "flake-compat_4", + "flake-utils": "flake-utils_9", + "nixpkgs": [ + "iguana", + "zls-0-13", "nixpkgs" ] }, @@ -296,14 +766,106 @@ "type": "github" } }, - "zls": { + "zig-overlay_4": { + "inputs": { + "flake-compat": "flake-compat_5", + "flake-utils": "flake-utils_11", + "nixpkgs": [ + "iguana", + "zls-master", + "nixpkgs" + ] + }, + "locked": { + "lastModified": 1733487143, + "narHash": "sha256-o4jsVKtInTA0CqwUUdcAxCYAgNLLNo30mLzz3qVc0eY=", + "owner": "mitchellh", + "repo": "zig-overlay", + "rev": "40e32dd7e083eab4340acd17de47f13d883f257f", + "type": "github" + }, + "original": { + "owner": "mitchellh", + "repo": "zig-overlay", + "type": "github" + } + }, + "zigPkgs": { "inputs": { + "flake-compat": "flake-compat", "flake-utils": "flake-utils_3", + "nixpkgs": "nixpkgs_2" + }, + "locked": { + "lastModified": 1734136278, + "narHash": "sha256-vVKuoB15Iqpi2YD9KQTslaTopK+GkdL+tY823l0iauI=", + "owner": "mitchellh", + "repo": "zig-overlay", + "rev": "2d2b4c8b29a4c3bb693b01d26ab9eb1b92c83473", + "type": "github" + }, + "original": { + "owner": "mitchellh", + "repo": "zig-overlay", + "type": "github" + } + }, + "zls-0-11": { + "inputs": { + "binned_allocator": "binned_allocator", + "diffz": "diffz", + "flake-utils": "flake-utils_4", "gitignore": "gitignore", - "langref": "langref", + "known_folders": "known_folders", "nixpkgs": "nixpkgs_3", "zig-overlay": "zig-overlay" }, + "locked": { + "lastModified": 1691412659, + "narHash": "sha256-zQRy8Fvzdbh8pIikZ2v1+CPKc3jFImE59LiogLqn4uU=", + "owner": "zigtools", + "repo": "zls", + "rev": "5bfff2a4b9ee01a7bab5fc26fad6e174f289c28d", + "type": "github" + }, + "original": { + "owner": "zigtools", + "ref": "0.11.0", + "repo": "zls", + "type": "github" + } + }, + "zls-0-12": { + "inputs": { + "flake-utils": "flake-utils_6", + "gitignore": "gitignore_2", + "langref": "langref", + "nixpkgs": "nixpkgs_4", + "zig-overlay": "zig-overlay_2" + }, + "locked": { + "lastModified": 1714067050, + "narHash": "sha256-9tiK5RWWdw+QKERrqt21aZ8rdowa66FmFBuspFwM0cY=", + "owner": "zigtools", + "repo": "zls", + "rev": "68cd4ff4c7b84e89bd1e1b4ad29f9abd8b020174", + "type": "github" + }, + "original": { + "owner": "zigtools", + "ref": "0.12.0", + "repo": "zls", + "type": "github" + } + }, + "zls-0-13": { + "inputs": { + "flake-utils": "flake-utils_8", + "gitignore": "gitignore_3", + "langref": "langref_2", + "nixpkgs": "nixpkgs_5", + "zig-overlay": "zig-overlay_3" + }, "locked": { "lastModified": 1717891507, "narHash": "sha256-l/Zo1OwdB3js3wXOpgFLozKwq+bdsPySZtKbEbYBb7U=", @@ -318,6 +880,28 @@ "repo": "zls", "type": "github" } + }, + "zls-master": { + "inputs": { + "flake-utils": "flake-utils_10", + "gitignore": "gitignore_4", + "nixpkgs": "nixpkgs_6", + "zig-overlay": "zig-overlay_4" + }, + "locked": { + "lastModified": 1734038937, + "narHash": "sha256-ICABLsiwHJxXVyC2UCjzLF838OiHnjYf25sDs2Nj+o8=", + "owner": "zigtools", + "repo": "zls", + "rev": "a74eda0297abc7940144768af96605cc56222ead", + "type": "github" + }, + "original": { + "owner": "zigtools", + "ref": "master", + "repo": "zls", + "type": "github" + } } }, "root": "root", diff --git a/flake.nix b/flake.nix index 69863fc..014dc16 100644 --- a/flake.nix +++ b/flake.nix @@ -1,40 +1,24 @@ { - description = "a framework for writing performant and reliable networked services"; + description = + "a framework for writing performant and reliable networked services"; inputs = { nixpkgs.url = "github:nixos/nixpkgs/release-24.05"; + iguana.url = "github:mookums/iguana"; flake-utils.url = "github:numtide/flake-utils"; - zig.url = "github:mitchellh/zig-overlay"; - zls.url = "github:zigtools/zls/0.13.0"; }; - outputs = inputs@{ self, nixpkgs, flake-utils, ... }: - let - overlays = [ - (final: prev: rec { - zigpkgs = inputs.zig.packages.${prev.system}; - zig = zigpkgs."0.13.0"; - zls = inputs.zls.packages.${prev.system}.zls.overrideAttrs - (old: { nativeBuildInputs = [ zig ]; }); - }) - ]; - - systems = builtins.attrNames inputs.zig.packages; - in flake-utils.lib.eachSystem systems (system: - let pkgs = import nixpkgs { inherit overlays system; }; + outputs = { nixpkgs, iguana, flake-utils, ... }: + flake-utils.lib.eachDefaultSystem (system: + let + pkgs = import nixpkgs { inherit system; }; + iguanaLib = iguana.lib.${system}; in { - devShells.default = pkgs.mkShell { - nativeBuildInputs = with pkgs; [ - zig - zls - # SSL Testing - openssl - # Debugging - gdb - valgrind - # Benchmarking - wrk - ]; + devShells.default = iguanaLib.mkShell { + zigVersion = "0.13.0"; + withZls = true; + + extraPackages = with pkgs; [ openssl wrk ]; }; }); }