fix previous commit

pull/1/head
Sebastien Bourdeauducq 2019-05-14 19:15:53 +08:00
parent e9b005d50a
commit 9f4538555e
1 changed files with 1 additions and 1 deletions

View File

@ -21,7 +21,7 @@ rec {
cmakeFlags = oa.cmakeFlags ++ ["-DLLVM_EXPERIMENTAL_TARGETS_TO_BUILD=RISCV"];
});
rustc = (pkgs.rustc.overrideAttrs(oa: {
name = oa.name + "-riscv";
name = "${oa.pname}-${oa.version}-riscv";
patches = oa.patches ++ [ ./compilers/rustc-riscv32i.patch ];
})).override { inherit llvm_7; };
rust-riscv32i-crates = pkgs.callPackage ./compilers/rust-riscv32i-crates.nix { inherit rustc; };