Skip to content

Commit

Permalink
feat(voyager): add sidecar package to nix
Browse files Browse the repository at this point in the history
  • Loading branch information
hussein-aitlahcen committed Sep 28, 2023
1 parent cae332e commit 2368f8c
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions voyager/voyager.nix
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,16 @@

voyagerMainnet = (mkVoyager "--features eth-mainnet" "-mainnet");
voyagerMinimal = (mkVoyager "" "-minimal");

voyagerSidecar = crane.buildWorkspaceMember {
crateDirFromRoot = "lib/voyager-sidecar";
additionalTestSrcFilter = path: _:
(pkgs.lib.hasPrefix "hubble/src/graphql" path);
};
in
{
packages = pkgs.lib.recursiveUpdate voyagerMainnet.packages voyagerMinimal.packages;
checks = pkgs.lib.recursiveUpdate voyagerMainnet.checks voyagerMinimal.checks;
packages = pkgs.lib.recursiveUpdate voyagerMainnet.packages voyagerMinimal.packages // voyagerSidecar.packages;
checks = pkgs.lib.recursiveUpdate voyagerMainnet.checks voyagerMinimal.checks // voyagerSidecar.checks;

};
}

0 comments on commit 2368f8c

Please sign in to comment.