Skip to content

Commit

Permalink
Inline
Browse files Browse the repository at this point in the history
  • Loading branch information
fmaste committed Aug 8, 2022
1 parent 622054f commit 7bcf938
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions nix/workbench/default.nix
Expand Up @@ -89,8 +89,6 @@ let
JSON = pkgs.writeText "all-profiles.json" (__toJSON (mapAttrs (_: x: x.value) value));
};

## materialise-profile :: ProfileNix -> BackendProfile -> Profile
materialise-profile = import ./profile.nix { inherit pkgs lib; };
## profile-topology :: ProfileNix -> Topology
profile-topology = import ./topology.nix { inherit pkgs; };
## profile-topology :: ProfileNix -> Topology -> Genesis
Expand All @@ -104,7 +102,8 @@ let
profileNix = ps.value."${profileName}"
or (throw "No such profile: ${profileName}; Known profiles: ${toString (__attrNames ps.value)}");

profile = materialise-profile { inherit profileNix backend; };
profile = (import ./profile.nix { inherit pkgs lib; })
{ inherit profileNix backend; };

topology = profile-topology { inherit profileNix profile; };

Expand Down

0 comments on commit 7bcf938

Please sign in to comment.