Much progress
This commit is contained in:
15
devenv.nix
15
devenv.nix
@@ -2,24 +2,25 @@
|
||||
|
||||
{
|
||||
# https://devenv.sh/basics/
|
||||
env.GREET = "devenv";
|
||||
#env.GREET = "devenv";
|
||||
|
||||
# https://devenv.sh/packages/
|
||||
packages = [ pkgs.git ];
|
||||
packages = [ pkgs.git pkgs.openssl ];
|
||||
|
||||
# https://devenv.sh/scripts/
|
||||
scripts.hello.exec = "echo hello from $GREET";
|
||||
#scripts.hello.exec = "echo hello from $GREET";
|
||||
|
||||
enterShell = ''
|
||||
hello
|
||||
git --version
|
||||
'';
|
||||
#enterShell = ''
|
||||
# hello
|
||||
# git --version
|
||||
#'';
|
||||
|
||||
# https://devenv.sh/languages/
|
||||
# languages.nix.enable = true;
|
||||
|
||||
languages.c.enable = true;
|
||||
languages.rust.enable = true;
|
||||
languages.rust.channel = "stable";
|
||||
|
||||
# https://devenv.sh/pre-commit-hooks/
|
||||
# pre-commit.hooks.shellcheck.enable = true;
|
||||
|
||||
Reference in New Issue
Block a user