mirror of
https://gitlab.com/veloren/veloren.git
synced 2024-08-30 18:12:32 +00:00
16 lines
409 B
Nix
16 lines
409 B
Nix
{ sources ? import ./sources.nix { }, nixpkgsSrc ? <nixpkgs> }:
|
|
|
|
let
|
|
mozPkgs = import "${sources.nixpkgsMoz}/package-set.nix" {
|
|
pkgs = import nixpkgsSrc { };
|
|
};
|
|
rustChannel = mozPkgs.rustChannelOf { rustToolchain = ../rust-toolchain; };
|
|
in import nixpkgsSrc {
|
|
overlays = [
|
|
(self: super: {
|
|
rustc = rustChannel.rust;
|
|
inherit (rustChannel) cargo rust rust-std rust-src;
|
|
})
|
|
];
|
|
}
|