Files
cnix/system/nix/shell/default.nix
2024-08-05 20:08:48 +02:00

25 lines
472 B
Nix

{pkgs ? import <nixpkgs> {}, ...}: {
default = pkgs.mkShell {
NIX_CONFIG = "extra-experimental-features = nix-command flakes";
RUST_SRC_PATH = "${pkgs.rust.packages.stable.rustPlatform.rustLibSrc}";
nativeBuildInputs = with pkgs; [
rust-analyzer
cargo
clippy
rustc
rustfmt
openssl
pkg-config
gtk3
gtk4
libadwaita
glib
clang
gnumake
cmake
nasm
perl
];
};
}