veloren/nix/rustPkgs.nix

15 lines
334 B
Nix
Raw Permalink Normal View History

{ nixpkgsMoz, pkgs }:
let
mozPkgs = import "${nixpkgsMoz}/package-set.nix" {
inherit pkgs;
};
channel = mozPkgs.rustChannelOf {
rustToolchain = ../rust-toolchain;
sha256 = "sha256-9wp6afVeZqCOEgXxYQiryYeF07kW5IHh3fQaOKF2oRI=";
};
in
channel // {
rust = channel.rust.override { extensions = [ "rust-src" ]; };
}