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
This commit is contained in:
RustyNova
2025-08-28 13:54:12 +00:00
parent 0277fd42fc
commit 92c3b99730
+8 -1
View File
@@ -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";
};
})