25 lines
565 B
Nix
25 lines
565 B
Nix
let
|
|
moz_overlay = import (builtins.fetchTarball https://github.com/mozilla/nixpkgs-mozilla/archive/master.tar.gz);
|
|
nixpkgs = import <nixpkgs> { overlays = [ moz_overlay ]; };
|
|
rustStableChannel = nixpkgs.latest.rustChannels.stable.rust.override {
|
|
extensions = [
|
|
"rust-src"
|
|
"rls-preview"
|
|
"clippy-preview"
|
|
"rustfmt-preview"
|
|
];
|
|
};
|
|
in
|
|
with nixpkgs;
|
|
stdenv.mkDerivation {
|
|
name = "moz_overlay_shell";
|
|
buildInputs = [
|
|
rustStableChannel
|
|
rls
|
|
rustup
|
|
pkg-config
|
|
SDL2
|
|
pulseaudio
|
|
];
|
|
}
|