forgot .envrc :/

pull/10/head
Hung 2023-01-20 10:48:41 -08:00
parent 9c4aa2799b
commit eaee170085
2 changed files with 8 additions and 0 deletions

View File

@ -0,0 +1,6 @@
# If nix-shell available, then nix is installed. We're going to use nix-direnv.
if command -v nix-shell &> /dev/null
then
use flake
fi

View File

@ -4,6 +4,8 @@
- Bootstrapped with [pegasust/dotfiles](https://git.pegasust.com/pegasust/dotfiles) - Bootstrapped with [pegasust/dotfiles](https://git.pegasust.com/pegasust/dotfiles)
`nix flake new --template git:git.pegasust.com/pegasust/dotfiles#py-poetry ./`
- Provides [devShell (`nix develop`)](https://nixos.org/manual/nix/stable/command-ref/new-cli/nix3-develop.html), - Provides [devShell (`nix develop`)](https://nixos.org/manual/nix/stable/command-ref/new-cli/nix3-develop.html),
[shell.nix (`nix-shell -p ./`)](https://nixos.org/manual/nix/stable/command-ref/nix-shell.html) [shell.nix (`nix-shell -p ./`)](https://nixos.org/manual/nix/stable/command-ref/nix-shell.html)