build: improve server-only derivation
This commit is contained in:
parent
cb2461b64f
commit
5acc09b471
1 changed files with 4 additions and 3 deletions
|
|
@ -89,10 +89,11 @@
|
|||
{
|
||||
packages.default = crate;
|
||||
|
||||
packages.server-only = craneLib.buildPackage {
|
||||
name = name + "-server-only";
|
||||
packages."${name}-server-only" = craneLib.buildPackage {
|
||||
name = "${name}-server-only";
|
||||
src = ./.;
|
||||
cargoExtraArgs = "--no-default-features";
|
||||
doCheck = false;
|
||||
cargoExtraArgs = "--locked --no-default-features";
|
||||
};
|
||||
|
||||
checks = {
|
||||
|
|
|
|||
Loading…
Reference in a new issue