Skip to content

Commit

Permalink
flake.nix: stop using genAttrs, causes infrec in withNixpkgs
Browse files Browse the repository at this point in the history
  • Loading branch information
ezKEa committed Feb 16, 2024
1 parent c5a7433 commit b562d6d
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -26,17 +26,19 @@ rec {
packages = pkgs: with pkgs; let
alias = import ./pkgs/alias.nix launchers;
launchers = let
mkLauncher = launcher: callPackage ./pkgs/${launcher} {
wrapAAGL = callPackage ./pkgs/wrapAAGL;
unwrapped = callPackage ./pkgs/${launcher}/unwrapped.nix {};
mkLauncher = launcher: {
"${launcher}" = callPackage ./pkgs/${launcher} {
wrapAAGL = callPackage ./pkgs/wrapAAGL;
unwrapped = callPackage ./pkgs/${launcher}/unwrapped.nix {};
};
};
in lib.genAttrs [
in builtins.foldl' (a: b: a // b) {} (map mkLauncher [
"anime-borb-launcher"
"anime-game-launcher"
"anime-games-launcher"
"honkers-railway-launcher"
"honkers-launcher"
] mkLauncher;
]);
in launchers // alias // {
allLaunchers = symlinkJoin {
name = "allLaunchers";
Expand Down

0 comments on commit b562d6d

Please sign in to comment.