first flake output test
This commit is contained in:
19
nix/download/.direnv/bin/nix-direnv-reload
Executable file
19
nix/download/.direnv/bin/nix-direnv-reload
Executable file
@@ -0,0 +1,19 @@
|
||||
#!/usr/bin/env bash
|
||||
set -e
|
||||
if [[ ! -d "/home/jawz/Development/NixOS/scripts/download" ]]; then
|
||||
echo "Cannot find source directory; Did you move it?"
|
||||
echo "(Looking for "/home/jawz/Development/NixOS/scripts/download")"
|
||||
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/jawz/Development/NixOS/scripts/download" true
|
||||
|
||||
# Update the mtime for .envrc.
|
||||
# This will cause direnv to reload again - but without re-building.
|
||||
touch "/home/jawz/Development/NixOS/scripts/download/.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/jawz/Development/NixOS/scripts/download/.envrc" "/home/jawz/Development/NixOS/scripts/download/.direnv"/*.rc
|
||||
1
nix/download/.direnv/nix-profile-24.11-wb6agba4kfsxpbnb
Symbolic link
1
nix/download/.direnv/nix-profile-24.11-wb6agba4kfsxpbnb
Symbolic link
@@ -0,0 +1 @@
|
||||
/nix/store/ilq7gdgibfyxmagbp4hivixvxl44apyr-nix-shell-env
|
||||
2037
nix/download/.direnv/nix-profile-24.11-wb6agba4kfsxpbnb.rc
Normal file
2037
nix/download/.direnv/nix-profile-24.11-wb6agba4kfsxpbnb.rc
Normal file
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user