trictrac/devenv.nix

27 lines
525 B
Nix
Raw Normal View History

2022-11-30 16:15:03 +01:00
{ pkgs, ... }:
{
# https://devenv.sh/basics/
# env.GREET = "devenv";
# https://devenv.sh/packages/
2022-11-30 17:59:47 +01:00
packages = [ pkgs.git pkgs.git-bug ];
2022-11-30 16:15:03 +01:00
# enterShell = ''
# hello
# git --version
# '';
# https://devenv.sh/languages/
languages.rust.enable = true;
# https://devenv.sh/scripts/
# scripts.hello.exec = "echo hello from $GREET";
# https://devenv.sh/pre-commit-hooks/
pre-commit.hooks.shellcheck.enable = true;
# https://devenv.sh/processes/
# processes.ping.exec = "ping example.com";
}