Advent of Code solutions
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

add zig to flake

Rain d9004061 6fe0d841

+76 -3
+73 -1
flake.lock
··· 74 74 "type": "github" 75 75 } 76 76 }, 77 + "flake-compat_2": { 78 + "flake": false, 79 + "locked": { 80 + "lastModified": 1696426674, 81 + "narHash": "sha256-kvjfFW7WAETZlt09AgDn1MrtKzP7t90Vf7vypd3OL1U=", 82 + "owner": "edolstra", 83 + "repo": "flake-compat", 84 + "rev": "0f9255e01c2351cc7d116c072cb317785dd33b33", 85 + "type": "github" 86 + }, 87 + "original": { 88 + "owner": "edolstra", 89 + "repo": "flake-compat", 90 + "type": "github" 91 + } 92 + }, 77 93 "flake-parts": { 78 94 "inputs": { 79 95 "nixpkgs-lib": [ ··· 92 108 "original": { 93 109 "owner": "hercules-ci", 94 110 "repo": "flake-parts", 111 + "type": "github" 112 + } 113 + }, 114 + "flake-utils": { 115 + "inputs": { 116 + "systems": "systems_2" 117 + }, 118 + "locked": { 119 + "lastModified": 1705309234, 120 + "narHash": "sha256-uNRRNRKmJyCRC/8y1RqBkqWBLM034y4qN7EprSdmgyA=", 121 + "owner": "numtide", 122 + "repo": "flake-utils", 123 + "rev": "1ef2e671c3b0c19053962c07dbda38332dcebf26", 124 + "type": "github" 125 + }, 126 + "original": { 127 + "owner": "numtide", 128 + "repo": "flake-utils", 95 129 "type": "github" 96 130 } 97 131 }, ··· 204 238 "devenv": "devenv", 205 239 "nixpkgs": "nixpkgs", 206 240 "rust-overlay": "rust-overlay", 207 - "systems": "systems" 241 + "systems": "systems", 242 + "zig-overlay": "zig-overlay" 208 243 } 209 244 }, 210 245 "rust-overlay": { ··· 239 274 "original": { 240 275 "owner": "nix-systems", 241 276 "repo": "default", 277 + "type": "github" 278 + } 279 + }, 280 + "systems_2": { 281 + "locked": { 282 + "lastModified": 1681028828, 283 + "narHash": "sha256-Vy1rq5AaRuLzOxct8nz4T6wlgyUR7zLU309k9mBC768=", 284 + "owner": "nix-systems", 285 + "repo": "default", 286 + "rev": "da67096a3b9bf56a91d16901293e51ba5b49a27e", 287 + "type": "github" 288 + }, 289 + "original": { 290 + "owner": "nix-systems", 291 + "repo": "default", 292 + "type": "github" 293 + } 294 + }, 295 + "zig-overlay": { 296 + "inputs": { 297 + "flake-compat": "flake-compat_2", 298 + "flake-utils": "flake-utils", 299 + "nixpkgs": [ 300 + "nixpkgs" 301 + ] 302 + }, 303 + "locked": { 304 + "lastModified": 1764203689, 305 + "narHash": "sha256-ivb0SqCptyIxx5g8ryRrUL0xrJhLrJPlvZbZjxVaui0=", 306 + "owner": "mitchellh", 307 + "repo": "zig-overlay", 308 + "rev": "8f7347545dea59b75e40247cc1ed55a42f64dbbf", 309 + "type": "github" 310 + }, 311 + "original": { 312 + "owner": "mitchellh", 313 + "repo": "zig-overlay", 242 314 "type": "github" 243 315 } 244 316 }
+3 -2
flake.nix
··· 6 6 devenv.inputs.nixpkgs.follows = "nixpkgs"; 7 7 rust-overlay.url = "github:oxalica/rust-overlay"; 8 8 rust-overlay.inputs = { nixpkgs.follows = "nixpkgs"; }; 9 + zig-overlay.url = "github:mitchellh/zig-overlay"; 10 + zig-overlay.inputs.nixpkgs.follows = "nixpkgs"; 9 11 }; 10 12 11 13 nixConfig = { ··· 35 37 inherit inputs pkgs; 36 38 modules = [ 37 39 { 38 - packages = with pkgs; []; 39 - 40 + packages = with pkgs; [ pkgs.zls inputs.zig-overlay.packages.${pkgs.system}.default ]; 40 41 languages.rust = { 41 42 enable = true; 42 43 channel = "nightly";