Skip to content

Commit

Permalink
Revert "Refactoring: Inline genAttrs"
Browse files Browse the repository at this point in the history
This reverts commit 79c29d4.
  • Loading branch information
fmaste committed Jun 24, 2022
1 parent 63e77d2 commit 60fb4a7
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion nix/workbench/default.nix
Expand Up @@ -9,6 +9,7 @@ let

# Being super verbose about everything needed from the `lib` parameter.
# Instead of doing `with lib;`
inherit (lib) genAttrs;
inherit (lib) makeBinPath;
inherit (lib) mapAttrs;

Expand Down Expand Up @@ -139,7 +140,7 @@ let
profileName;
};

value = lib.genAttrs profile-names mkProfile;
value = genAttrs profile-names mkProfile;

JSON = pkgs.writeText "all-profiles.json" (__toJSON (mapAttrs (_: x: x.value) value));
};
Expand Down

0 comments on commit 60fb4a7

Please sign in to comment.