feat(main): forAllSystems
,packages
,devShells
Reenable
This commit is contained in:
parent
da4bd3e943
commit
040215f423
1 changed files with 15 additions and 15 deletions
30
flake.nix
30
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;
|
||||
|
|
Loading…
Reference in a new issue