rumdl: prefer stdenv over stdenvNoCC
Co-Authored-By: Nick Cao <nickcao@nichi.co>
This commit is contained in:
co-authored by
Nick Cao
parent
27958ff0f2
commit
4f882d8c9f
@@ -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) \
|
||||
|
||||
Reference in New Issue
Block a user