From 70594c489aa824446cdd98a9b4b0cb969b6b2043 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rg=20Thalheim?= Date: Mon, 5 Jun 2023 10:05:39 +0200 Subject: [PATCH] drop flake-utils --- flake.lock | 36 +----------------------------------- flake.nix | 4 +--- 2 files changed, 2 insertions(+), 38 deletions(-) diff --git a/flake.lock b/flake.lock index ae2b088..5f2dafc 100644 --- a/flake.lock +++ b/flake.lock @@ -17,41 +17,7 @@ }, "root": { "inputs": { - "nixpkgs": "nixpkgs", - "utils": "utils" - } - }, - "systems": { - "locked": { - "lastModified": 1681028828, - "narHash": "sha256-Vy1rq5AaRuLzOxct8nz4T6wlgyUR7zLU309k9mBC768=", - "owner": "nix-systems", - "repo": "default", - "rev": "da67096a3b9bf56a91d16901293e51ba5b49a27e", - "type": "github" - }, - "original": { - "owner": "nix-systems", - "repo": "default", - "type": "github" - } - }, - "utils": { - "inputs": { - "systems": "systems" - }, - "locked": { - "lastModified": 1685518550, - "narHash": "sha256-o2d0KcvaXzTrPRIo0kOLV0/QXHhDQ5DTi+OxcjO8xqY=", - "owner": "numtide", - "repo": "flake-utils", - "rev": "a1720a10a6cfe8234c0e93907ffe81be440f4cef", - "type": "github" - }, - "original": { - "owner": "numtide", - "repo": "flake-utils", - "type": "github" + "nixpkgs": "nixpkgs" } } }, diff --git a/flake.nix b/flake.nix index 0df2401..9dd78c7 100644 --- a/flake.nix +++ b/flake.nix @@ -1,7 +1,6 @@ { description = "nix-ld: run unpatched dynamic binaries on NixOS"; - inputs.utils.url = "github:numtide/flake-utils"; inputs.nixpkgs.url = "github:NixOS/nixpkgs"; nixConfig.extra-substituters = [ "https://cache.garnix.io" ]; @@ -10,12 +9,11 @@ outputs = { self, nixpkgs, - utils, }: { nixosModules.nix-ld = import ./modules/nix-ld.nix; } - // utils.lib.eachSystem ["x86_64-linux" "aarch64-linux"] (system: let + // nixpkgs.lib.genAttrs ["x86_64-linux" "aarch64-linux"] (system: let pkgs = nixpkgs.legacyPackages.${system}; in { packages.nix-ld = pkgs.callPackage ./default.nix {};