mirror of
https://github.com/elkowar/eww.git
synced 2024-10-04 15:07:52 +03:00
32 lines
582 B
Nix
32 lines
582 B
Nix
{ pkgs ? import <nixpkgs> {
|
|
overlays = [
|
|
(import (fetchTarball
|
|
"https://github.com/nix-community/fenix/archive/main.tar.gz"))
|
|
(self: super: {
|
|
rustc = super.fenix.latest.rustc;
|
|
cargo = super.fenix.latest.cargo;
|
|
rust-src = super.fenix.latest.rust-src;
|
|
}
|
|
)
|
|
];
|
|
}
|
|
}:
|
|
|
|
pkgs.mkShell {
|
|
packages = with pkgs; [
|
|
rustc
|
|
cargo
|
|
rust-analyzer
|
|
gcc
|
|
gtk3
|
|
pkg-config
|
|
rustfmt-preview
|
|
clippy-preview
|
|
deno
|
|
mdbook
|
|
];
|
|
|
|
|
|
RUST_SRC_PATH = "${pkgs.rust-src}/lib/rustlib/src/rust/library";
|
|
}
|