use statik to bundle assets, add nix-shell/lorri .envrc
This commit is contained in:
parent
987b539e33
commit
dbd7b4807a
8 changed files with 67 additions and 3 deletions
13
.envrc
Normal file
13
.envrc
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
# This configures [direnv](https://direnv.net/) if installed and enabled to
|
||||
# automatically enter the nix-shell defined in `shell.nix`,
|
||||
# either by using lorri if available, or nix-shell otherwise.
|
||||
|
||||
if type lorri &>/dev/null; then
|
||||
eval "$(lorri direnv)"
|
||||
else
|
||||
# fall back to using direnv's builtin nix support (blocking)
|
||||
use nix
|
||||
fi
|
||||
|
||||
# Load private overrides
|
||||
[[ -f .envrc.private ]] && source_env .envrc.private
|
||||
Loading…
Add table
Add a link
Reference in a new issue