some shell changes

This commit is contained in:
cnst
2024-08-21 17:28:42 +02:00
parent ec6d572d94
commit b72d7755ec
5 changed files with 115 additions and 88 deletions

View File

@@ -3,22 +3,31 @@
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
rust-analyzer # Rust language server for code completion and analysis
cargo # Rust package manager and build tool
rustc # Rust compiler
clippy # Linter to catch common mistakes in Rust code
rustfmt # Tool to format Rust code according to style guidelines
# Wayland-specific dependencies
wayland # Wayland client library
wayland-protocols # Wayland protocols (essential for building against Wayland)
pkg-config # Helps to manage libraries during compilation
# Aquamarine: Hyprland's new compositor library
aquamarine # Aquamarine compositor library for Wayland
# Other utilities and tools
openssl # Required for some crates that involve networking or encryption
git # Version control system, useful for development
];
shellHook = ''
# Set SHELL to zsh if available
export SHELL=$(which zsh)
# Optionally, start zsh directly if it's not the current shell
if [ "$SHELL" != "$(which zsh)" ]; then
exec $SHELL
fi
'';
};
}