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.default = crate;
|
||||||
|
|
||||||
packages.server-only = craneLib.buildPackage {
|
packages."${name}-server-only" = craneLib.buildPackage {
|
||||||
name = name + "-server-only";
|
name = "${name}-server-only";
|
||||||
src = ./.;
|
src = ./.;
|
||||||
cargoExtraArgs = "--no-default-features";
|
doCheck = false;
|
||||||
|
cargoExtraArgs = "--locked --no-default-features";
|
||||||
};
|
};
|
||||||
|
|
||||||
checks = {
|
checks = {
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue