Fix build options
All checks were successful
Build library & run tests / build (push) Successful in 1m9s

This commit is contained in:
Kodi Craft 2024-06-22 13:00:56 +02:00
parent 15d44b6daa
commit fe5dabec45
Signed by: kodi
GPG Key ID: 69D9EED60B242822

View File

@ -22,12 +22,14 @@
unix = naersk-lib.buildPackage {
src = ./.;
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 {
src = ./.;
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 {