dotfiles/.envrc

14 lines
494 B
Plaintext
Raw Normal View History

2023-06-23 03:52:40 +00:00
#!/bin/sh
2023-06-23 03:52:40 +00:00
# first time
if [[ ! -d $(nix store add-path --name source --dry-run .) ]]; then
nix store add-path --name source .
(cd ./src/local && nix flake lock --update-input std)
(cd ./src/tests && nix flake lock --update-input std)
fi
2023-06-23 03:52:40 +00:00
# shellcheck disable=SC1090
. "$(fetchurl "https://raw.githubusercontent.com/paisano-nix/direnv/main/lib" "sha256-R3K8Flvbovj4IOvdlWNtQKLMMSQV464WjG9eU29ixHk=")"
2022-12-25 09:55:30 +00:00
2023-06-23 03:52:40 +00:00
use envreload "//repo/userShells/${USER}" //repo/userShells/default //repo/userShells