Skip to content

Commit

Permalink
refactor: use let instead of recursive set
Browse files Browse the repository at this point in the history
  • Loading branch information
HeitorAugustoLN committed Sep 24, 2024
1 parent eaede2f commit e6e6835
Showing 1 changed file with 10 additions and 4 deletions.
14 changes: 10 additions & 4 deletions flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -43,9 +43,15 @@

homeManagerModules.betterfox = import ./modules;

packages = forAllSystems (pkgs: rec {
betterfox-extractor = pkgs.callPackage ./extractor { };
betterfox-generator = pkgs.callPackage ./generator { inherit betterfox-extractor; };
});
packages = forAllSystems (
pkgs:
let
betterfox-extractor = pkgs.callPackage ./extractor { };
in
{
inherit betterfox-extractor;
betterfox-generator = pkgs.callPackage ./generator { inherit betterfox-extractor; };
}
);
};
}

0 comments on commit e6e6835

Please sign in to comment.