rootCrate is fine
This commit is contained in:
parent
ddbaac4e59
commit
cdf6c77685
1 changed files with 1 additions and 2 deletions
|
@ -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;
|
||||||
|
|
Loading…
Reference in a new issue