diff --git a/pkgs/development/compilers/llvm/common/bintools.nix b/pkgs/development/compilers/llvm/common/bintools.nix index fa3228ecff28..64d165a0f21f 100644 --- a/pkgs/development/compilers/llvm/common/bintools.nix +++ b/pkgs/development/compilers/llvm/common/bintools.nix @@ -9,12 +9,14 @@ }: let + pname = "llvm-binutils"; targetPrefix = lib.optionalString ( stdenv.hostPlatform != stdenv.targetPlatform ) "${stdenv.targetPlatform.config}-"; in -runCommand "llvm-binutils-${version}" +runCommand "${pname}-${version}" { + inherit pname version; preferLocalBuild = true; passthru = { isLLVM = true;