selene: use buildNoDefaultFeatures

This commit is contained in:
figsoda 2021-11-16 08:32:07 -05:00
parent b356c37023
commit 6189ca3ad4

View file

@ -26,9 +26,7 @@ rustPlatform.buildRustPackage rec {
buildInputs = lib.optional robloxSupport openssl
++ lib.optional (robloxSupport && stdenv.isDarwin) Security;
cargoBuildFlags = lib.optional (!robloxSupport) "--no-default-features";
cargoTestFlags = cargoBuildFlags;
buildNoDefaultFeatures = !robloxSupport;
meta = with lib; {
description = "A blazing-fast modern Lua linter written in Rust";