devenv with rust

This commit is contained in:
Henri Bourcereau 2022-11-30 16:15:03 +01:00
parent 3f26f9d4fe
commit 97dff5137a
7 changed files with 181 additions and 5 deletions

26
devenv.nix Normal file
View file

@ -0,0 +1,26 @@
{ pkgs, ... }:
{
# https://devenv.sh/basics/
# env.GREET = "devenv";
# https://devenv.sh/packages/
packages = [ pkgs.git ];
# 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";
}