Fix build options
All checks were successful
Build library & run tests / build (push) Successful in 1m9s
All checks were successful
Build library & run tests / build (push) Successful in 1m9s
This commit is contained in:
parent
15d44b6daa
commit
fe5dabec45
@ -22,12 +22,14 @@
|
|||||||
unix = naersk-lib.buildPackage {
|
unix = naersk-lib.buildPackage {
|
||||||
src = ./.;
|
src = ./.;
|
||||||
doCheck = true;
|
doCheck = true;
|
||||||
cargoOptions = x: x ++ ["--no-default-features" "--features" "unix"];
|
cargoBuildOptions = x: x ++ ["--no-default-features" "--features" "unix"];
|
||||||
|
cargoTestOptions = x: x ++ ["--no-default-features" "--features" "unix"];
|
||||||
};
|
};
|
||||||
tcp = naersk-lib.buildPackage {
|
tcp = naersk-lib.buildPackage {
|
||||||
src = ./.;
|
src = ./.;
|
||||||
doCheck = true;
|
doCheck = true;
|
||||||
cargoOptions = x: x ++ ["--no-default-features" "--features" "tcp"];
|
cargoBuildOptions = x: x ++ ["--no-default-features" "--features" "tcp"];
|
||||||
|
cargoTestOptions = x: x ++ ["--no-default-features" "--features" "tcp"];
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
devShell = with pkgs; mkShell {
|
devShell = with pkgs; mkShell {
|
||||||
|
Loading…
Reference in New Issue
Block a user