mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-16 14:54:29 +01:00
selene: use buildNoDefaultFeatures
This commit is contained in:
parent
b356c37023
commit
6189ca3ad4
1 changed files with 1 additions and 3 deletions
|
@ -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";
|
||||
|
|
Loading…
Reference in a new issue