Clean up flake structure a little bit
This commit is contained in:
parent
30e29cc5d0
commit
1f18ca97fe
17
flake.nix
17
flake.nix
|
@ -76,29 +76,20 @@
|
|||
'';
|
||||
};
|
||||
in with import nixpkgs { system = system; }; {
|
||||
packages.temurin =
|
||||
(builtins.mapAttrs (name: value: buildAdoptLike name value)
|
||||
packages = {
|
||||
temurin = (builtins.mapAttrs (name: value: buildAdoptLike name value)
|
||||
sources.${system}.temurin.versions) // {
|
||||
latest = buildAdoptLike "latest" sources.${system}.temurin.latest;
|
||||
stable = buildAdoptLike "stable" sources.${system}.temurin.stable;
|
||||
lts = buildAdoptLike "lts" sources.${system}.temurin.lts;
|
||||
};
|
||||
|
||||
packages.temurin-latest = self.packages.${system}.temurin.latest;
|
||||
packages.temurin-stable = self.packages.${system}.temurin.stable;
|
||||
packages.temurin-lts = self.packages.${system}.temurin.lts;
|
||||
|
||||
packages.semeru =
|
||||
(builtins.mapAttrs (name: value: buildAdoptLike name value)
|
||||
semeru = (builtins.mapAttrs (name: value: buildAdoptLike name value)
|
||||
sources.${system}.semeru.versions) // {
|
||||
latest = buildAdoptLike "latest" sources.${system}.semeru.latest;
|
||||
stable = buildAdoptLike "stable" sources.${system}.semeru.stable;
|
||||
lts = buildAdoptLike "lts" sources.${system}.semeru.lts;
|
||||
};
|
||||
|
||||
packages.semeru-latest = self.packages.${system}.semeru.latest;
|
||||
packages.semeru-stable = self.packages.${system}.semeru.stable;
|
||||
packages.semeru-lts = self.packages.${system}.semeru.lts;
|
||||
};
|
||||
|
||||
defaultPackage = self.packages.${system}.temurin.stable;
|
||||
});
|
||||
|
|
Loading…
Reference in New Issue