flake.nix: cleanup
This commit is contained in:
parent
fff25b9905
commit
288289d6ce
1 changed files with 16 additions and 14 deletions
30
flake.nix
30
flake.nix
|
@ -13,21 +13,23 @@
|
|||
})
|
||||
pkgsFor;
|
||||
|
||||
formatter.x86_64-linux = inputs.nixpkgs.legacyPackages.x86_64-linux.alejandra;
|
||||
formatter = eachSystem (system: pkgsFor.${system}.alejandra);
|
||||
|
||||
packages = eachSystem (
|
||||
system: {
|
||||
inherit
|
||||
(import ./packages rec {
|
||||
pkgs = pkgsFor.${system};
|
||||
helix = inputs.helix.packages.${pkgs.system}.default;
|
||||
})
|
||||
fish
|
||||
wrapped-helix
|
||||
kakoune
|
||||
;
|
||||
}
|
||||
);
|
||||
packages =
|
||||
lib.mapAttrs (
|
||||
system: pkgs: {
|
||||
inherit
|
||||
(import ./packages rec {
|
||||
inherit pkgs;
|
||||
helix = inputs.helix.packages.${system}.default;
|
||||
})
|
||||
fish
|
||||
wrapped-helix
|
||||
kakoune
|
||||
;
|
||||
}
|
||||
)
|
||||
pkgsFor;
|
||||
|
||||
apps = eachSystem (system: let
|
||||
inherit (inputs.self.packages.${system}) fish wrapped-helix;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue