「🎉」 init: wtf
This commit is contained in:
19
.direnv/bin/nix-direnv-reload
Executable file
19
.direnv/bin/nix-direnv-reload
Executable file
@ -0,0 +1,19 @@
|
||||
#!/usr/bin/env bash
|
||||
set -e
|
||||
if [[ ! -d "/home/adjoly/workspace/42/miniserv" ]]; then
|
||||
echo "Cannot find source directory; Did you move it?"
|
||||
echo "(Looking for "/home/adjoly/workspace/42/miniserv")"
|
||||
echo 'Cannot force reload with this script - use "direnv reload" manually and then try again'
|
||||
exit 1
|
||||
fi
|
||||
|
||||
# rebuild the cache forcefully
|
||||
_nix_direnv_force_reload=1 direnv exec "/home/adjoly/workspace/42/miniserv" true
|
||||
|
||||
# Update the mtime for .envrc.
|
||||
# This will cause direnv to reload again - but without re-building.
|
||||
touch "/home/adjoly/workspace/42/miniserv/.envrc"
|
||||
|
||||
# Also update the timestamp of whatever profile_rc we have.
|
||||
# This makes sure that we know we are up to date.
|
||||
touch -r "/home/adjoly/workspace/42/miniserv/.envrc" "/home/adjoly/workspace/42/miniserv/.direnv"/*.rc
|
1
.direnv/flake-inputs/nzcf7lnys24q231gh97sks5ji5qpw9ca-source
Symbolic link
1
.direnv/flake-inputs/nzcf7lnys24q231gh97sks5ji5qpw9ca-source
Symbolic link
@ -0,0 +1 @@
|
||||
/nix/store/nzcf7lnys24q231gh97sks5ji5qpw9ca-source
|
1
.direnv/flake-inputs/x06djk7jw02qb6y8fxd0mjgaksw2kd9n-source
Symbolic link
1
.direnv/flake-inputs/x06djk7jw02qb6y8fxd0mjgaksw2kd9n-source
Symbolic link
@ -0,0 +1 @@
|
||||
/nix/store/x06djk7jw02qb6y8fxd0mjgaksw2kd9n-source
|
1
.direnv/flake-profile-a5d5b61aa8a61b7d9d765e1daf971a9a578f1cfa
Symbolic link
1
.direnv/flake-profile-a5d5b61aa8a61b7d9d765e1daf971a9a578f1cfa
Symbolic link
@ -0,0 +1 @@
|
||||
/nix/store/gr4bzvxzzp0hwz6fkr96k8k04986hw6f-nix-shell-env
|
2091
.direnv/flake-profile-a5d5b61aa8a61b7d9d765e1daf971a9a578f1cfa.rc
Normal file
2091
.direnv/flake-profile-a5d5b61aa8a61b7d9d765e1daf971a9a578f1cfa.rc
Normal file
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user