rootCrate is fine

This commit is contained in:
Sridhar Ratnakumar 2021-04-07 23:18:18 -04:00
parent ddbaac4e59
commit cdf6c77685

View file

@ -33,9 +33,8 @@
# Individual crate overrides go here # Individual crate overrides go here
# Example: https://github.com/balsoft/simple-osd-daemons/blob/6f85144934c0c1382c7a4d3a2bbb80106776e270/flake.nix#L28-L50 # Example: https://github.com/balsoft/simple-osd-daemons/blob/6f85144934c0c1382c7a4d3a2bbb80106776e270/flake.nix#L28-L50
}; };
packages = builtins.mapAttrs (name: member: member.build) project.workspaceMembers;
in rec { in rec {
inherit packages; packages.bouncy = project.rootCrate.build;
# `nix build` # `nix build`
defaultPackage = packages.bouncy; defaultPackage = packages.bouncy;