added packages to devenv
This commit is contained in:
15
devenv.nix
15
devenv.nix
@@ -6,11 +6,12 @@
|
||||
|
||||
# https://devenv.sh/packages/
|
||||
packages = with pkgs; [
|
||||
nixfmt # needed for Nix IDE?
|
||||
git
|
||||
# rustc rustfmt cargo
|
||||
trunk cargo-generate
|
||||
# LLVM tools for WebAssembly compilation
|
||||
# llvm
|
||||
llvm
|
||||
lld
|
||||
];
|
||||
|
||||
@@ -39,9 +40,15 @@
|
||||
echo hello from $GREET
|
||||
'';
|
||||
|
||||
scripts.versions.exec = ''
|
||||
git --version
|
||||
uv run --locked python --version
|
||||
rustc --version
|
||||
'';
|
||||
|
||||
enterShell = ''
|
||||
hello
|
||||
git --version
|
||||
versions
|
||||
'';
|
||||
|
||||
# https://devenv.sh/tasks/
|
||||
@@ -53,9 +60,7 @@
|
||||
# https://devenv.sh/tests/
|
||||
enterTest = ''
|
||||
echo "Running tests"
|
||||
git --version
|
||||
uv run --locked python --version
|
||||
rustc --version
|
||||
versions
|
||||
'';
|
||||
|
||||
# https://devenv.sh/git-hooks/
|
||||
|
||||
Reference in New Issue
Block a user