From 0707eeb3ccd5ab71e3ad45cca3b8bc2e06162139 Mon Sep 17 00:00:00 2001 From: Tomas Carnecky Date: Wed, 7 Oct 2026 08:38:16 +0200 Subject: [PATCH] Use nixpkgs.lib.systems.flakeExposed instead of nix-systems --- flake.lock | 18 +----------------- flake.nix | 4 +--- 2 files changed, 2 insertions(+), 20 deletions(-) diff --git a/flake.lock b/flake.lock index c54374b0..51dc2107 100644 --- a/flake.lock +++ b/flake.lock @@ -18,23 +18,7 @@ }, "root": { "inputs": { - "nixpkgs": "nixpkgs", - "systems": "systems" - } - }, - "systems": { - "locked": { - "lastModified": 1681028828, - "narHash": "sha256-Vy1rq5AaRuLzOxct8nz4T6wlgyUR7zLU309k9mBC768=", - "owner": "nix-systems", - "repo": "default", - "rev": "da67096a3b9bf56a91d16901293e51ba5b49a27e", - "type": "github" - }, - "original": { - "owner": "nix-systems", - "repo": "default", - "type": "github" + "nixpkgs": "nixpkgs" } } }, diff --git a/flake.nix b/flake.nix index 74399dec..cc37e900 100644 --- a/flake.nix +++ b/flake.nix @@ -1,18 +1,16 @@ { inputs = { nixpkgs.url = "github:NixOS/nixpkgs/nixpkgs-unstable"; - systems.url = "github:nix-systems/default"; }; outputs = { nixpkgs, - systems, ... }: let forAllSystems = - function: nixpkgs.lib.genAttrs (import systems) (system: function nixpkgs.legacyPackages.${system}); + function: nixpkgs.lib.genAttrs nixpkgs.lib.systems.flakeExposed (system: function nixpkgs.legacyPackages.${system}); in {