From 040215f423aa245f27be22ffa9bf68a6117fcc57 Mon Sep 17 00:00:00 2001 From: reo101 Date: Mon, 21 Nov 2022 09:53:32 +0200 Subject: [PATCH] feat(main): `forAllSystems`,`packages`,`devShells` Reenable --- flake.nix | 30 +++++++++++++++--------------- 1 file changed, 15 insertions(+), 15 deletions(-) diff --git a/flake.nix b/flake.nix index d0ff0fa..9472449 100644 --- a/flake.nix +++ b/flake.nix @@ -52,25 +52,25 @@ , ... } @ inputs: let - # forAllSystems = nixpkgs.lib.genAttrs [ - # "aarch64-linux" - # "i686-linux" - # "x86_64-linux" - # "aarch64-darwin" - # "x86_64-darwin" - # ]; inherit (self) outputs; + forAllSystems = nixpkgs.lib.genAttrs [ + "aarch64-linux" + "i686-linux" + "x86_64-linux" + "aarch64-darwin" + "x86_64-darwin" + ]; in rec { - # packages = forAllSystems (system: - # let pkgs = nixpkgs.legacyPackages.${system}; - # in import ./pkgs { inherit pkgs; } - # ); + packages = forAllSystems (system: + let pkgs = nixpkgs.legacyPackages.${system}; + in import ./pkgs { inherit pkgs; } + ); - # devShells = forAllSystems (system: - # let pkgs = nixpkgs.legacyPackages.${system}; - # in import ./shell.nix { inherit pkgs; } - # ); + devShells = forAllSystems (system: + let pkgs = nixpkgs.legacyPackages.${system}; + in import ./shell.nix { inherit pkgs; } + ); overlays = import ./overlays; nixosModules = import ./modules/nixos;