1
0
Fork 0
forked from auxolotl/templates

feat(direnv): add shellhook, rename env var

This commit is contained in:
aemogie 2024-05-03 17:39:51 +05:30
parent 0d02eb962d
commit 97ddb19f9e
No known key found for this signature in database

View file

@ -19,7 +19,10 @@
devShells = forAllSystems (pkgs: {
default = pkgs.mkShellNoCC {
packages = [ pkgs.hello ];
IN_SHELL = "yes!";
EXAMPLE_VAR = "inside the direnv template";
shellHook = ''
echo "Hello from $EXAMPLE_VAR, $(whoami)!"
'';
};
});
};