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