forked from mirrors/nixpkgs
19 lines
340 B
Nix
19 lines
340 B
Nix
|
{ callPackage }:
|
||
|
{ rustc, cargo, ... }: {
|
||
|
rust = {
|
||
|
inherit rustc cargo;
|
||
|
};
|
||
|
|
||
|
buildRustPackage = callPackage ./default.nix {
|
||
|
inherit rustc cargo;
|
||
|
|
||
|
fetchcargo = callPackage ./fetchcargo.nix {
|
||
|
inherit cargo;
|
||
|
};
|
||
|
};
|
||
|
|
||
|
rustcSrc = callPackage ../../development/compilers/rust/rust-src.nix {
|
||
|
inherit rustc;
|
||
|
};
|
||
|
}
|