From 73d00b72af96d2e7f9d98ebff771c8a903231ad2 Mon Sep 17 00:00:00 2001 From: sora Date: Sat, 25 Nov 2023 13:28:34 +0100 Subject: [PATCH] Update shells/default.nix --- shells/default.nix | 26 +++++++++++++------------- 1 file changed, 13 insertions(+), 13 deletions(-) diff --git a/shells/default.nix b/shells/default.nix index 97a205d..57aec30 100644 --- a/shells/default.nix +++ b/shells/default.nix @@ -1,13 +1,13 @@ -{ inputs, ... }: -let - forEachSystem = - inputs.nixpkgs.lib.genAttrs [ "aarch64-linux" "x86_64-linux" ]; -in forEachSystem (system: - let - overlays = import ./pkgs/overlay.nix { inherit pkgs; }; - overrides = { custom = import ./pkgs { inherit pkgs; }; }; - pkgs = import inputs.nixpkgs { inherit system overlays; } // overrides; - in { - default = import ./shells/devsh { inherit pkgs; }; - devsh = import ./shells/devsh { inherit pkgs; }; - }) +{ inputs, ... }: +let + forEachSystem = + inputs.nixpkgs.lib.genAttrs [ "aarch64-linux" "x86_64-linux" ]; +in forEachSystem (system: + let + overlays = import ../overlays { inherit pkgs; }; + overrides = { custom = import ../pkgs { inherit pkgs; }; }; + pkgs = import inputs.nixpkgs { inherit system overlays; } // overrides; + in { + default = import ./devsh { inherit pkgs; }; + devsh = import ./devsh { inherit pkgs; }; + })