mirror of
https://git.adityakumar.xyz/adityakumar.xyz.git
synced 2024-09-07 21:10:40 +00:00
direnv flake inputs
This commit is contained in:
parent
a0385ed37a
commit
9f4b694afe
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/user/dev/adityakumar.xyz" ]]; then
|
||||
echo "Cannot find source directory; Did you move it?"
|
||||
echo "(Looking for "/home/user/dev/adityakumar.xyz")"
|
||||
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/user/dev/adityakumar.xyz" true
|
||||
|
||||
# Update the mtime for .envrc.
|
||||
# This will cause direnv to reload again - but without re-building.
|
||||
touch "/home/user/dev/adityakumar.xyz/.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/user/dev/adityakumar.xyz/.envrc" "/home/user/dev/adityakumar.xyz/.direnv"/*.rc
|
1
.direnv/flake-inputs/vhq11h949l5zycaw07acphv53ifq4p2c-source
Symbolic link
1
.direnv/flake-inputs/vhq11h949l5zycaw07acphv53ifq4p2c-source
Symbolic link
|
@ -0,0 +1 @@
|
|||
/nix/store/vhq11h949l5zycaw07acphv53ifq4p2c-source
|
1
.direnv/flake-inputs/xdw8f5gfgp2l7v493h474bkwsqq8lrfn-source
Symbolic link
1
.direnv/flake-inputs/xdw8f5gfgp2l7v493h474bkwsqq8lrfn-source
Symbolic link
|
@ -0,0 +1 @@
|
|||
/nix/store/xdw8f5gfgp2l7v493h474bkwsqq8lrfn-source
|
1
.direnv/flake-profile-a5d5b61aa8a61b7d9d765e1daf971a9a578f1cfa
Symbolic link
1
.direnv/flake-profile-a5d5b61aa8a61b7d9d765e1daf971a9a578f1cfa
Symbolic link
|
@ -0,0 +1 @@
|
|||
/nix/store/3d2m26q1c6m4wnfqijbs46nann1izf7k-adityakumar.xyz-env
|
1838
.direnv/flake-profile-a5d5b61aa8a61b7d9d765e1daf971a9a578f1cfa.rc
Normal file
1838
.direnv/flake-profile-a5d5b61aa8a61b7d9d765e1daf971a9a578f1cfa.rc
Normal file
File diff suppressed because it is too large
Load diff
Loading…
Reference in a new issue