diff --git a/flake.lock b/flake.lock index 886e08e..f7f5bfa 100644 --- a/flake.lock +++ b/flake.lock @@ -54,7 +54,8 @@ "inputs": { "flake-compat": "flake-compat", "flake-utils": "flake-utils", - "nixpkgs": "nixpkgs" + "nixpkgs": "nixpkgs", + "systems": "systems_2" } }, "systems": { @@ -71,6 +72,22 @@ "repo": "default", "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" + } } }, "root": "root", diff --git a/flake.nix b/flake.nix index e535fa6..5420d42 100644 --- a/flake.nix +++ b/flake.nix @@ -3,6 +3,10 @@ inputs = { nixpkgs.url = "github:NixOS/nixpkgs/nixos-23.11"; + systems = { + url = "github:nix-systems/default"; + flake = false; + }; flake-utils.url = "github:numtide/flake-utils"; # Used for shell.nix @@ -15,11 +19,11 @@ outputs = { self, nixpkgs, + systems, flake-utils, ... }: let - systems = ["x86_64-linux" "aarch64-linux" "x86_64-darwin" "aarch64-darwin"]; - outputs = flake-utils.lib.eachSystem systems (system: let + outputs = flake-utils.lib.eachSystem (import systems) (system: let pkgs = nixpkgs.legacyPackages.${system}; in rec { # The packages exported by the Flake: