diff --git a/flake.lock b/flake.lock index 46f2972..aff4c23 100644 --- a/flake.lock +++ b/flake.lock @@ -1,58 +1,22 @@ { "nodes": { - "flake-utils": { - "inputs": { - "systems": "systems" - }, - "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" - } - }, "nixpkgs": { "locked": { - "lastModified": 1723637854, - "narHash": "sha256-med8+5DSWa2UnOqtdICndjDAEjxr5D7zaIiK4pn0Q7c=", - "owner": "NixOS", - "repo": "nixpkgs", - "rev": "c3aa7b8938b17aebd2deecf7be0636000d62a2b9", - "type": "github" + "lastModified": 1758813675, + "narHash": "sha256-cTjOAzgVQrjBvZLAdnY4+AhWdiAzdvEQ69/ZcxNo3Lo=", + "rev": "e643668fd71b949c53f8626614b21ff71a07379d", + "type": "tarball", + "url": "https://releases.nixos.org/nixos/unstable/nixos-25.11pre866707.e643668fd71b/nixexprs.tar.xz" }, "original": { - "id": "nixpkgs", - "ref": "nixos-unstable", - "type": "indirect" + "type": "tarball", + "url": "https://channels.nixos.org/nixos-unstable/nixexprs.tar.xz" } }, "root": { "inputs": { - "flake-utils": "flake-utils", "nixpkgs": "nixpkgs" } - }, - "systems": { - "locked": { - "lastModified": 1681028828, - "narHash": "sha256-Vy1rq5AaRuLzOxct8nz4T6wlgyUR7zLU309k9mBC768=", - "owner": "nix-systems", - "repo": "default", - "rev": "da67096a3b9bf56a91d16901293e51ba5b49a27e", - "type": "github" - }, - "original": { - "owner": "nix-systems", - "repo": "default", - "type": "github" - } } }, "root": "root", diff --git a/flake.nix b/flake.nix index 804073a..5784a73 100644 --- a/flake.nix +++ b/flake.nix @@ -1,32 +1,38 @@ { inputs = { nixpkgs = { - url = "nixpkgs/nixos-unstable"; - }; - flake-utils = { - url = "github:numtide/flake-utils"; + url = "https://channels.nixos.org/nixos-unstable/nixexprs.tar.xz"; }; }; - - outputs = { - nixpkgs, - flake-utils, - ... - }: - flake-utils.lib.eachDefaultSystem ( - system: let - pkgs = import nixpkgs { + outputs = + { + nixpkgs, + ... + }: + let + makePackages = + system: + import nixpkgs { inherit system; }; - in { - devShells.default = pkgs.mkShell { + forAllSystems = ( + function: + nixpkgs.lib.genAttrs [ + "x86_64-linux" + ] (system: function (makePackages system)) + ); + in + { + devShells = forAllSystems (pkgs: { + default = pkgs.mkShell { nativeBuildInputs = [ - pkgs.zig_0_13 + pkgs.zig_0_15 + pkgs.pinact pkgs.kcov - pkgs.linuxPackages.perf + pkgs.perf pkgs.cc65 ]; }; - } - ); + }); + }; }