finalfusion-utils: use buildFeature

This commit is contained in:
figsoda 2021-11-15 19:07:44 -05:00
parent ce0da1b871
commit cc0e233801

View File

@ -22,12 +22,6 @@ rustPlatform.buildRustPackage rec {
cargoSha256 = "sha256-/rLv2/bcVsmWw+ZfyumDcj0ptHPQBCCYR9O/lVlV+G0=";
# Enables build against a generic BLAS.
cargoBuildFlags = [
"--features"
"netlib"
];
nativeBuildInputs = [ installShellFiles ];
buildInputs = [
@ -38,6 +32,9 @@ rustPlatform.buildRustPackage rec {
Security
];
# Enables build against a generic BLAS.
buildFeatures = [ "netlib" ];
postInstall = ''
# Install shell completions
for shell in bash fish zsh; do