* added flake * updated flake.lock * fixup! updated flake.lock * Added app packages * added default.nix for non flake systems * added compat for shell with non flake systems * changed to use fenix src * fixup! changed to use fenix src * get rid of the newlines, i guess? * fixup! get rid of the newlines, i guess?
30 lines
555 B
Nix
30 lines
555 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
|
|
clippy
|
|
deno
|
|
];
|
|
|
|
|
|
RUST_SRC_PATH = "${pkgs.rust-src}/lib/rustlib/src/rust/library";
|
|
}
|