Skip to content

Lightpanda: the headless browser designed for AI and automation

update Nix flake for Zig 0.16

Muki Kiboigo791af8fded14
diff --git a/flake.lock b/flake.lock
index 816fcdf0e..8308f0e7c 100644
--- a/flake.lock
+++ b/flake.lock
@@ -8,11 +8,11 @@
"rust-analyzer-src": "rust-analyzer-src"
},
"locked": {
- "lastModified": 1781694955,
- "narHash": "sha256-tWhN69ITP44KnE027imGWrf1XgWbAqHLtXsbIMczfsQ=",
+ "lastModified": 1784622960,
+ "narHash": "sha256-j/1L7vq6oNZVz/snuOxneFHUzde12ArP8wCMpLRkujw=",
"owner": "nix-community",
"repo": "fenix",
- "rev": "123d5d73ba5649fc9ca1051f1378ee86c751d1a4",
+ "rev": "c9b21541e30ed4453dfa026820b57eefe17d7f25",
"type": "github"
},
"original": {
@@ -21,22 +21,6 @@
"type": "github"
}
},
- "flake-compat": {
- "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-utils": {
"inputs": {
"systems": "systems"
@@ -55,34 +39,13 @@
"type": "github"
}
},
- "gitignore": {
- "inputs": {
- "nixpkgs": [
- "zlsPkg",
- "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"
- }
- },
"nixpkgs": {
"locked": {
- "lastModified": 1781216227,
- "narHash": "sha256-9mUW6gNwoN2SWc/l0fW4svPNOulXLl8ijqKyeSOGgJE=",
+ "lastModified": 1784432872,
+ "narHash": "sha256-n3gKTBIV4ZA5VQpUakffBe3KGu4+mhPoA34rrqS0GkA=",
"owner": "nixos",
"repo": "nixpkgs",
- "rev": "a0374025a863d007d98e3297f6aa46cc3141c2f0",
+ "rev": "fd1462031fdee08f65fd0b4c6b64e22239a77870",
"type": "github"
},
"original": {
@@ -104,11 +67,11 @@
"rust-analyzer-src": {
"flake": false,
"locked": {
- "lastModified": 1781624033,
- "narHash": "sha256-xrkr//LaYgfxWNwvNQz5AgRhWIj5aEjVprwfkQzpZzw=",
+ "lastModified": 1784568416,
+ "narHash": "sha256-edHcabLC6XRa5wG1UgUwcdIk8669SUD06JZYtplDdgE=",
"owner": "rust-lang",
"repo": "rust-analyzer",
- "rev": "06070f3ad9824dca321f6407e2dcdd7952d33cd2",
+ "rev": "0069617d8971879f47679f559fd6a103f029ce9e",
"type": "github"
},
"original": {
@@ -133,65 +96,46 @@
"type": "github"
}
},
- "systems_2": {
- "flake": false,
- "locked": {
- "lastModified": 1681028828,
- "narHash": "sha256-Vy1rq5AaRuLzOxct8nz4T6wlgyUR7zLU309k9mBC768=",
- "owner": "nix-systems",
- "repo": "default",
- "rev": "da67096a3b9bf56a91d16901293e51ba5b49a27e",
- "type": "github"
- },
- "original": {
- "owner": "nix-systems",
- "repo": "default",
- "type": "github"
- }
- },
"zigPkgs": {
"inputs": {
- "flake-compat": "flake-compat",
"nixpkgs": [
"nixpkgs"
- ],
- "systems": "systems_2"
+ ]
},
"locked": {
- "lastModified": 1781745567,
- "narHash": "sha256-vQsYIwQLVirBq/W4gTooArfSInOh/1cLs1LfId4SJ7o=",
- "owner": "mitchellh",
- "repo": "zig-overlay",
- "rev": "cb90e27d9cabf159f7dcb46d5eadd2d4c2a53a64",
+ "lastModified": 1784595499,
+ "narHash": "sha256-8c/IKoO8Y/kNiR0gIXqw4PxunYvyZQxO49k6V06s5lQ=",
+ "owner": "silversquirl",
+ "repo": "zig-flake",
+ "rev": "fe9b98464ee4b285548161509eae1cd4ef2e1bb1",
"type": "github"
},
"original": {
- "owner": "mitchellh",
- "repo": "zig-overlay",
+ "owner": "silversquirl",
+ "repo": "zig-flake",
"type": "github"
}
},
"zlsPkg": {
"inputs": {
- "gitignore": "gitignore",
"nixpkgs": [
"nixpkgs"
],
- "zig-overlay": [
+ "zig-flake": [
"zigPkgs"
]
},
"locked": {
- "lastModified": 1756048867,
- "narHash": "sha256-GFzSHUljcxy7sM1PaabbkQUdUnLwpherekPWJFxXtnk=",
+ "lastModified": 1776368637,
+ "narHash": "sha256-k0xWObsw9K12BKfK+UB5TieWDFEFfBQhN1X1NO35fWk=",
"owner": "zigtools",
"repo": "zls",
- "rev": "ce6c8f02c78e622421cfc2405c67c5222819ec03",
+ "rev": "494486203c3a48927f2383aa3d5ce5fca112186d",
"type": "github"
},
"original": {
"owner": "zigtools",
- "ref": "0.15.0",
+ "ref": "0.16.0",
"repo": "zls",
"type": "github"
}
diff --git a/flake.nix b/flake.nix
index b609df965..70114bb43 100644
--- a/flake.nix
+++ b/flake.nix
@@ -4,12 +4,17 @@
inputs = {
nixpkgs.url = "github:nixos/nixpkgs/nixos-26.05";
- zigPkgs.url = "github:mitchellh/zig-overlay";
- zigPkgs.inputs.nixpkgs.follows = "nixpkgs";
+ zigPkgs = {
+ url = "github:silversquirl/zig-flake";
+ inputs.nixpkgs.follows = "nixpkgs";
+ };
- zlsPkg.url = "github:zigtools/zls/0.15.0";
- zlsPkg.inputs.zig-overlay.follows = "zigPkgs";
- zlsPkg.inputs.nixpkgs.follows = "nixpkgs";
+ zlsPkg = {
+ url = "github:zigtools/zls/0.16.0";
+ inputs.zig-flake.follows = "zigPkgs";
+ inputs.nixpkgs.follows = "nixpkgs";
+
+ };
fenix = {
url = "github:nix-community/fenix";
@@ -33,7 +38,7 @@
let
overlays = [
(final: prev: {
- zigpkgs = zigPkgs.packages.${prev.system};
+ zig = zigPkgs.packages.${prev.system}."zig_0_16_0";
zls = zlsPkg.packages.${prev.system}.default;
})
];
@@ -57,7 +62,7 @@
targetPkgs =
pkgs: with pkgs; [
# Build Tools
- zigpkgs."0.15.2"
+ zig
zls
rustToolchain
python3