veloren/nix/rustPkgs.nix

15 lines
334 B
Nix
Raw Normal View History

{ nixpkgsMoz, pkgs }:
let
mozPkgs = import "${nixpkgsMoz}/package-set.nix" {
inherit pkgs;
};
channel = mozPkgs.rustChannelOf {
rustToolchain = ../rust-toolchain;
2020-12-11 12:36:56 +00:00
sha256 = "sha256-kDtMqYvrTbahqYHYFQOWyvT0+F5o4UVcqkMZt0c43kc=";
};
in
channel // {
rust = channel.rust.override { extensions = [ "rust-src" ]; };
}