rumdl: prefer stdenv over stdenvNoCC

Co-Authored-By: Nick Cao <nickcao@nichi.co>
This commit is contained in:
Kenichi Kamiya
2026-01-31 09:55:49 +09:00
co-authored by Nick Cao
parent 27958ff0f2
commit 4f882d8c9f
+2 -2
View File
@@ -4,7 +4,7 @@
rustPlatform,
installShellFiles,
gitMinimal,
stdenvNoCC,
stdenv,
versionCheckHook,
nix-update-script,
}:
@@ -41,7 +41,7 @@ rustPlatform.buildRustPackage (finalAttrs: {
"--profile smoke"
];
postInstall = lib.optionalString (stdenvNoCC.buildPlatform.canExecute stdenvNoCC.hostPlatform) ''
postInstall = lib.optionalString (stdenv.buildPlatform.canExecute stdenv.hostPlatform) ''
installShellCompletion --cmd rumdl \
--bash <("$out/bin/rumdl" completions bash) \
--fish <("$out/bin/rumdl" completions fish) \