From 92c3b99730a1393e7b7d406cb0ca55a663aa6f25 Mon Sep 17 00:00:00 2001 From: RustyNova Date: Thu, 28 Aug 2025 13:54:12 +0000 Subject: [PATCH] alistral: build with all features Regular cargo build won't build all features for compilation performance. For release, it needs to be built with feature full --- pkgs/by-name/al/alistral/package.nix | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/pkgs/by-name/al/alistral/package.nix b/pkgs/by-name/al/alistral/package.nix index 27c928834e43..294b0fdcdd24 100644 --- a/pkgs/by-name/al/alistral/package.nix +++ b/pkgs/by-name/al/alistral/package.nix @@ -21,6 +21,10 @@ rustPlatform.buildRustPackage (finalAttrs: { cargoHash = "sha256-TyxeuDMmoRvIVaapA/KstFnARPpPv9h19Bg3/XnwQWs="; + buildNoDefaultFeatures = true; + # Would be cleaner with an "--all-features" option + buildFeatures = [ "full" ]; + nativeBuildInputs = [ pkg-config ]; @@ -39,7 +43,10 @@ rustPlatform.buildRustPackage (finalAttrs: { changelog = "https://github.com/RustyNova016/Alistral/blob/${finalAttrs.src.tag}/CHANGELOG.md"; description = "Power tools for Listenbrainz"; license = lib.licenses.mit; - maintainers = with lib.maintainers; [ jopejoe1 ]; + maintainers = with lib.maintainers; [ + jopejoe1 + RustyNova + ]; mainProgram = "alistral"; }; })