From 26fb083eb6059df497a0e84d55b46ae4877aeee9 Mon Sep 17 00:00:00 2001 From: Tom Bereknyei Date: Mon, 26 Aug 2024 02:16:15 -0400 Subject: [PATCH] chore: remove extra inputs --- flake.lock | 42 ++++-------------------------------------- flake.nix | 29 +++++++---------------------- 2 files changed, 11 insertions(+), 60 deletions(-) diff --git a/flake.lock b/flake.lock index f6791f8..67f3712 100644 --- a/flake.lock +++ b/flake.lock @@ -2,11 +2,11 @@ "nodes": { "nixpkgs": { "locked": { - "lastModified": 1705856552, - "narHash": "sha256-JXfnuEf5Yd6bhMs/uvM67/joxYKoysyE3M2k6T3eWbg=", + "lastModified": 1721743106, + "narHash": "sha256-adRZhFpBTnHiK3XIELA3IBaApz70HwCYfv7xNrHjebA=", "owner": "flox", "repo": "nixpkgs", - "rev": "612f97239e2cc474c13c9dafa0df378058c5ad8d", + "rev": "dc14ed91132ee3a26255d01d8fd0c1f5bff27b2f", "type": "github" }, "original": { @@ -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": 1705309234, - "narHash": "sha256-uNRRNRKmJyCRC/8y1RqBkqWBLM034y4qN7EprSdmgyA=", - "owner": "numtide", - "repo": "flake-utils", - "rev": "1ef2e671c3b0c19053962c07dbda38332dcebf26", - "type": "github" - }, - "original": { - "owner": "numtide", - "repo": "flake-utils", - "type": "github" + "nixpkgs": "nixpkgs" } } }, diff --git a/flake.nix b/flake.nix index c79624a..07e1caa 100644 --- a/flake.nix +++ b/flake.nix @@ -1,27 +1,12 @@ { description = "List symbolic links encountered in path traversal."; - inputs = { - nixpkgs.url = "github:flox/nixpkgs"; - utils.url = "github:numtide/flake-utils"; - }; + inputs.nixpkgs.url = "github:flox/nixpkgs"; - outputs = - { nixpkgs, ... }@inputs: - inputs.utils.lib.eachSystem - [ - "aarch64-darwin" - "aarch64-linux" - "x86_64-darwin" - "x86_64-linux" - ] - ( - system: - let - pkgs = import nixpkgs { inherit system; }; - in - { - packages.default = pkgs.callPackage ./pkgs/tracelinks/default.nix { }; - } - ); + outputs = inputs: { + recipes.tracelinks = import ./pkgs/tracelinks; + packages = builtins.mapAttrs (system: pkgs: { + default = pkgs.callPackage inputs.self.recipes.tracelinks { }; + }) inputs.nixpkgs.legacyPackages; + }; }