From d27c37cc1604011dfd2b1371fb655ff3f6394ddd Mon Sep 17 00:00:00 2001 From: Hendrik Sokolowski Date: Sat, 11 Nov 2023 01:06:27 +0100 Subject: [PATCH] remove default.nix --- default.nix | 35 ----------------------------------- 1 file changed, 35 deletions(-) delete mode 100644 default.nix diff --git a/default.nix b/default.nix deleted file mode 100644 index 3d5b5f96..00000000 --- a/default.nix +++ /dev/null @@ -1,35 +0,0 @@ -let - inherit (default.inputs.nixos) lib; - - default = (import ./lib/compat).defaultNix; - - ciSystems = [ - "aarch64-linux" - "x86_64-linux" - ]; - - filterSystems = - lib.filterAttrs - (system: _: lib.elem system ciSystems); - - recurseIntoAttrsRecursive = lib.mapAttrs ( - _: v: - if lib.isAttrs v - then recurseIntoAttrsRecursive (lib.recurseIntoAttrs v) - else v - ); - - systemOutputs = - lib.filterAttrs - ( - name: set: - lib.isAttrs set - && lib.any - (system: set ? ${system} && name != "legacyPackages") - ciSystems - ) - default.outputs; - - ciDrvs = lib.mapAttrs (_: system: filterSystems system) systemOutputs; -in - (recurseIntoAttrsRecursive ciDrvs) // {shell = import ./shell.nix;}