30 lines
558 B
Nix
30 lines
558 B
Nix
{ pkgs, ... }:
|
|
|
|
{
|
|
|
|
# https://devenv.sh/packages/
|
|
packages = [
|
|
pkgs.ruby_3_0
|
|
pkgs.rubyPackages_3_0.rubocop
|
|
];
|
|
|
|
# https://devenv.sh/scripts/
|
|
scripts.hello.exec = "echo hello from $GREET";
|
|
|
|
enterShell = ''
|
|
hello
|
|
git --version
|
|
'';
|
|
|
|
# https://devenv.sh/languages/
|
|
# languages.nix.enable = true;
|
|
|
|
# https://devenv.sh/pre-commit-hooks/
|
|
# pre-commit.hooks.shellcheck.enable = true;
|
|
|
|
# https://devenv.sh/processes/
|
|
# processes.ping.exec = "ping example.com";
|
|
|
|
# See full reference at https://devenv.sh/reference/options/
|
|
}
|