diff --git a/flake.lock b/flake.lock index 1be1eab39..a55d47375 100644 --- a/flake.lock +++ b/flake.lock @@ -13,8 +13,9 @@ "type": "github" }, "original": { - "id": "flake-utils", - "type": "indirect" + "owner": "numtide", + "repo": "flake-utils", + "type": "github" } }, "nixpkgs": { @@ -36,8 +37,7 @@ "root": { "inputs": { "flake-utils": "flake-utils", - "nixpkgs": "nixpkgs", - "systems": "systems_2" + "nixpkgs": "nixpkgs" } }, "systems": { @@ -54,21 +54,6 @@ "repo": "default", "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" - } } }, "root": "root", diff --git a/flake.nix b/flake.nix index 233229bbb..9df9bc634 100644 --- a/flake.nix +++ b/flake.nix @@ -1,16 +1,13 @@ { # Override nixpkgs to use the latest set of node packages - inputs.nixpkgs.url = "github:NixOS/nixpkgs/master"; - inputs.systems.url = "github:nix-systems/default"; + inputs = { + nixpkgs.url = "github:NixOS/nixpkgs/master"; + flake-utils.url = "github:numtide/flake-utils"; + }; outputs = - { - self, - nixpkgs, - flake-utils, - systems, - }: - flake-utils.lib.eachSystem (import systems) ( + { nixpkgs, flake-utils, ... }: + flake-utils.lib.eachDefaultSystem ( system: let pkgs = import nixpkgs { inherit system; };