{ pkgs, lib, config, inputs, ... }: { env.RUST_BACKTRACE = "full"; packages = with pkgs; [ onefetch ]; languages.rust.enable = true; # https://devenv.sh/processes/ # processes.cargo-watch.exec = "cargo-watch"; # https://devenv.sh/services/ # services.postgres.enable = true; # https://devenv.sh/scripts/ scripts.greet.exec = '' echo "Welcome to nix-hell uh nix-shell!" ''; enterShell = '' onefetch greet ''; # https://devenv.sh/tests/ enterTest = '' echo "Running tests" git --version | grep --color=auto "${pkgs.git.version}" ''; # https://devenv.sh/pre-commit-hooks/ # pre-commit.hooks.shellcheck.enable = true; # See full reference at https://devenv.sh/reference/options/ }