some flake things among other stuff

This commit is contained in:
2026-04-05 15:57:58 +01:00
parent 238f3d00e5
commit fe8cb3ba8f
2 changed files with 81 additions and 24 deletions

View File

@@ -19,6 +19,7 @@
in
{
devShells.default = pkgs.mkShell {
name = "flake-rustshell";
buildInputs = with pkgs; [
# Rust toolchain
rustc
@@ -34,13 +35,13 @@
# Environment variables
shellHook = ''
export RUST_BACKTRACE=1
echo "🦀 Rust Dev Environment Loaded"
export RUST_BACKTRACE=full
export DEVSHELL_NAME="󱄅 flake/#89dceb|🦀 rustproject/red"
# Trigger zsh if not already in it
if [[ -z "$ZSH_VERSION" ]]; then
exec zsh
fi
# Trigger zsh if not already in it
if [[ -z "$ZSH_VERSION" ]]; then
exec zsh
fi
'';
};
}