From 07d652d987e0c6d023f4dfc60fa86c70e95c3e54 Mon Sep 17 00:00:00 2001 From: Rene Schallner Date: Sat, 5 Aug 2023 14:43:50 +0200 Subject: [PATCH] switched nix flake to zig-0.11.0 release --- README.md | 6 ++++++ flake.lock | 48 +++++++++++++++++++++++++++++++++--------------- flake.nix | 4 ++-- 3 files changed, 41 insertions(+), 17 deletions(-) diff --git a/README.md b/README.md index 95487f0..84ec755 100644 --- a/README.md +++ b/README.md @@ -171,6 +171,9 @@ code leaks memory. ## Getting started +Make sure you have **the latest zig release (0.11.0)** installed. Fetch it from +[here](https://ziglang.org/download). + ```shell $ git clone https://github.com/zigzap/zap.git $ cd zap @@ -182,6 +185,9 @@ $ # open http://localhost:3000 in your browser ## Using ⚡zap⚡ in your own projects +Make sure you have **the latest zig release (0.11.0)** installed. Fetch it from +[here](https://ziglang.org/download). + If you don't have an existing zig project, create one like this: ```shell diff --git a/flake.lock b/flake.lock index efa1985..a85db44 100644 --- a/flake.lock +++ b/flake.lock @@ -37,11 +37,11 @@ "systems": "systems" }, "locked": { - "lastModified": 1681202837, - "narHash": "sha256-H+Rh19JDwRtpVPAWp64F+rlEtxUWBAQW28eAi3SRSzg=", + "lastModified": 1689068808, + "narHash": "sha256-6ixXo3wt24N/melDWjq70UuHQLxGV8jZvooRanIHXw0=", "owner": "numtide", "repo": "flake-utils", - "rev": "cfacdce06f30d2b68473a46042957675eebb3401", + "rev": "919d646de7be200f3bf08cb76ae1f09402b6f9b4", "type": "github" }, "original": { @@ -51,12 +51,15 @@ } }, "flake-utils_2": { + "inputs": { + "systems": "systems_2" + }, "locked": { - "lastModified": 1667395993, - "narHash": "sha256-nuEHfE/LcWyuSWnS8t12N1wc105Qtau+/OdUAjtQ0rA=", + "lastModified": 1685518550, + "narHash": "sha256-o2d0KcvaXzTrPRIo0kOLV0/QXHhDQ5DTi+OxcjO8xqY=", "owner": "numtide", "repo": "flake-utils", - "rev": "5aed5285a952e0b949eb3ba02c12fa4fcfef535f", + "rev": "a1720a10a6cfe8234c0e93907ffe81be440f4cef", "type": "github" }, "original": { @@ -89,11 +92,11 @@ }, "locked": { "dir": "contrib", - "lastModified": 1676203786, - "narHash": "sha256-cexLxv4plVaHO5ldSiWlfteJId2oVD1AoOZrTsD+PTU=", + "lastModified": 1691226237, + "narHash": "sha256-/+JDL1T9dFh2NqCOXqsLSNjrRcsKAMWdJiARq54qx6c=", "owner": "neovim", "repo": "neovim", - "rev": "c099836168fd669372895bb9bfa16522b5972134", + "rev": "42630923fc00633d806af97c1792b2ed4a71e1cc", "type": "github" }, "original": { @@ -105,11 +108,11 @@ }, "nixpkgs": { "locked": { - "lastModified": 1686861615, - "narHash": "sha256-0cqdg/kG1BSdigD87HabM6uqoRyqs5cOuQviphdhihk=", + "lastModified": 1691235410, + "narHash": "sha256-kdUw6loESRxuQEz+TJXE9TdSBs2aclaF1Yrro+u8NlM=", "owner": "nixos", "repo": "nixpkgs", - "rev": "e27a1b6a2ad8a5561f9d6678432966ff073a958e", + "rev": "d814a2776b53f65ea73c7403f3efc2e3511c7dbb", "type": "github" }, "original": { @@ -159,6 +162,21 @@ "type": "github" } }, + "systems_2": { + "locked": { + "lastModified": 1681028828, + "narHash": "sha256-Vy1rq5AaRuLzOxct8nz4T6wlgyUR7zLU309k9mBC768=", + "owner": "nix-systems", + "repo": "default", + "rev": "da67096a3b9bf56a91d16901293e51ba5b49a27e", + "type": "github" + }, + "original": { + "owner": "nix-systems", + "repo": "default", + "type": "github" + } + }, "zig": { "inputs": { "flake-compat": "flake-compat_2", @@ -166,11 +184,11 @@ "nixpkgs": "nixpkgs_2" }, "locked": { - "lastModified": 1690891715, - "narHash": "sha256-0y4ua6XQ+3gJgt0UmlwLS9Lw1fXRk4YYYmQ4huyMzec=", + "lastModified": 1691237213, + "narHash": "sha256-RReB+o6jjJXjCHHJSny0p7NR/kNOu57jXEDX7jq9bp0=", "owner": "mitchellh", "repo": "zig-overlay", - "rev": "baf7f3af81a249d72ad51feabb32e05125cbfcd5", + "rev": "a9d85674542108318187831fbf376704b71590f3", "type": "github" }, "original": { diff --git a/flake.nix b/flake.nix index b755d92..8d95a14 100644 --- a/flake.nix +++ b/flake.nix @@ -43,7 +43,7 @@ devShells.default = pkgs.mkShell { nativeBuildInputs = with pkgs; [ neovim-nightly-pkgs.neovim - zigpkgs.master + zigpkgs."0.11.0" bat wrk python39 @@ -84,7 +84,7 @@ devShells.build = pkgs.mkShell { nativeBuildInputs = with pkgs; [ - zigpkgs.master + zigpkgs."0.11.0" ]; buildInputs = with pkgs; [