mirror of
https://gitlab.com/veloren/veloren.git
synced 2024-08-30 18:12:32 +00:00
15 lines
334 B
Nix
15 lines
334 B
Nix
{ nixpkgsMoz, pkgs }:
|
|
let
|
|
mozPkgs = import "${nixpkgsMoz}/package-set.nix" {
|
|
inherit pkgs;
|
|
};
|
|
|
|
channel = mozPkgs.rustChannelOf {
|
|
rustToolchain = ../rust-toolchain;
|
|
sha256 = "sha256-g0vzQzexOfgXeu7nm8AFJJxmRCDpZXksw3H58a156+0=";
|
|
};
|
|
in
|
|
channel // {
|
|
rust = channel.rust.override { extensions = [ "rust-src" ]; };
|
|
}
|