Compare commits
1 Commits
master
...
3edcb0ad1b
Author | SHA1 | Date | |
---|---|---|---|
3edcb0ad1b
|
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/torjus/git/ghettoptt" ]]; then
|
||||||
|
echo "Cannot find source directory; Did you move it?"
|
||||||
|
echo "(Looking for "/home/torjus/git/ghettoptt")"
|
||||||
|
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/torjus/git/ghettoptt" true
|
||||||
|
|
||||||
|
# Update the mtime for .envrc.
|
||||||
|
# This will cause direnv to reload again - but without re-building.
|
||||||
|
touch "/home/torjus/git/ghettoptt/.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/torjus/git/ghettoptt/.envrc" "/home/torjus/git/ghettoptt/.direnv"/*.rc
|
1
.direnv/flake-inputs/p2hby44a0qzrnd1vxcpcgfav6160rmcv-source
Symbolic link
1
.direnv/flake-inputs/p2hby44a0qzrnd1vxcpcgfav6160rmcv-source
Symbolic link
@@ -0,0 +1 @@
|
|||||||
|
/nix/store/p2hby44a0qzrnd1vxcpcgfav6160rmcv-source
|
1
.direnv/flake-inputs/ri5q1bld0gwahdsrfs8ydcini09mx85i-source
Symbolic link
1
.direnv/flake-inputs/ri5q1bld0gwahdsrfs8ydcini09mx85i-source
Symbolic link
@@ -0,0 +1 @@
|
|||||||
|
/nix/store/ri5q1bld0gwahdsrfs8ydcini09mx85i-source
|
1
.direnv/flake-profile-a5d5b61aa8a61b7d9d765e1daf971a9a578f1cfa
Symbolic link
1
.direnv/flake-profile-a5d5b61aa8a61b7d9d765e1daf971a9a578f1cfa
Symbolic link
@@ -0,0 +1 @@
|
|||||||
|
/nix/store/4n7mpj43zcs1y74q231w94i3a3w56si2-nix-shell-env
|
1997
.direnv/flake-profile-a5d5b61aa8a61b7d9d765e1daf971a9a578f1cfa.rc
Normal file
1997
.direnv/flake-profile-a5d5b61aa8a61b7d9d765e1daf971a9a578f1cfa.rc
Normal file
File diff suppressed because it is too large
Load Diff
1
.gitignore
vendored
1
.gitignore
vendored
@@ -1,2 +1 @@
|
|||||||
.direnv
|
|
||||||
result
|
result
|
||||||
|
Reference in New Issue
Block a user