trictrac/devenv.nix

28 lines
512 B
Nix
Raw Normal View History

2022-11-30 16:15:03 +01:00
{ pkgs, ... }:
{
# https://devenv.sh/basics/
# env.GREET = "devenv";
2023-10-29 20:48:53 +01:00
packages = [
pkgs.alsaLib pkgs.udev # for bevy
];
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";
}