HeavyX/overlay.nix

12 lines
381 B
Nix
Raw Normal View History

self: super:
2019-06-09 00:05:40 +08:00
rec {
llvm_7 = super.llvm_7.overrideAttrs(oa: {
name = oa.name + "-riscv";
cmakeFlags = oa.cmakeFlags ++ ["-DLLVM_EXPERIMENTAL_TARGETS_TO_BUILD=RISCV"];
});
rustc = super.rustc.overrideAttrs(oa: {
patches = oa.patches ++ [ ./compilers/rustc-riscv32i.patch ];
});
2019-06-09 00:05:40 +08:00
rustPlatform = super.makeRustPlatform { inherit rustc; inherit (super) cargo; };
}