From 5016f2bc0e7388b599644cb9cc2b86fba176774e Mon Sep 17 00:00:00 2001 From: Adam0 Date: Fri, 14 Aug 2026 14:01:20 -0400 Subject: [PATCH] Use Nixpkgs supported systems --- flake.lock | 16 ---------------- flake.nix | 5 +---- 2 files changed, 1 insertion(+), 20 deletions(-) diff --git a/flake.lock b/flake.lock index b3aef116..4c6267e7 100644 --- a/flake.lock +++ b/flake.lock @@ -69,25 +69,9 @@ "flake-parts": "flake-parts", "import-tree": "import-tree", "nixpkgs": "nixpkgs", - "systems": "systems", "treefmt-nix": "treefmt-nix" } }, - "systems": { - "locked": { - "lastModified": 1681028828, - "narHash": "sha256-Vy1rq5AaRuLzOxct8nz4T6wlgyUR7zLU309k9mBC768=", - "owner": "nix-systems", - "repo": "default", - "rev": "da67096a3b9bf56a91d16901293e51ba5b49a27e", - "type": "github" - }, - "original": { - "owner": "nix-systems", - "repo": "default", - "type": "github" - } - }, "treefmt-nix": { "inputs": { "nixpkgs": [ diff --git a/flake.nix b/flake.nix index b170ca4b..546e73dc 100644 --- a/flake.nix +++ b/flake.nix @@ -9,8 +9,6 @@ nixpkgs.url = "github:NixOS/nixpkgs/nixpkgs-unstable"; - systems.url = "github:nix-systems/default"; - treefmt-nix = { url = "github:numtide/treefmt-nix"; inputs.nixpkgs.follows = "nixpkgs"; @@ -22,12 +20,11 @@ # keep-sorted start flake-parts, import-tree, - systems, # keep-sorted end ... }: flake-parts.lib.mkFlake {inherit inputs;} { - systems = import systems; + systems = inputs.nixpkgs.lib.systems.flakeExposed; imports = [(import-tree ./nix/modules)]; }; } -- 2.51.2