rustc: make llvm override compatible with nixos-unstable
This commit is contained in:
parent
9f4538555e
commit
9e93a9cf39
@ -23,6 +23,11 @@ rec {
|
||||
rustc = (pkgs.rustc.overrideAttrs(oa: {
|
||||
name = "${oa.pname}-${oa.version}-riscv";
|
||||
patches = oa.patches ++ [ ./compilers/rustc-riscv32i.patch ];
|
||||
})).override { inherit llvm_7; };
|
||||
})).override {
|
||||
inherit llvm_7;
|
||||
pkgsBuildBuild = pkgs.pkgsBuildBuild // { inherit llvm_7; };
|
||||
pkgsBuildHost = pkgs.pkgsBuildHost // { inherit llvm_7; };
|
||||
pkgsBuildTarget = pkgs.pkgsBuildTarget // { inherit llvm_7; };
|
||||
};
|
||||
rust-riscv32i-crates = pkgs.callPackage ./compilers/rust-riscv32i-crates.nix { inherit rustc; };
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user