my NixOS and nix-darwin config
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

removed direnv

-19
-19
.direnv/bin/nix-direnv-reload
··· 1 - #!/usr/bin/env bash 2 - set -e 3 - if [[ ! -d "/Users/suri/Nyx" ]]; then 4 - echo "Cannot find source directory; Did you move it?" 5 - echo "(Looking for "/Users/suri/Nyx")" 6 - echo 'Cannot force reload with this script - use "direnv reload" manually and then try again' 7 - exit 1 8 - fi 9 - 10 - # rebuild the cache forcefully 11 - _nix_direnv_force_reload=1 direnv exec "/Users/suri/Nyx" true 12 - 13 - # Update the mtime for .envrc. 14 - # This will cause direnv to reload again - but without re-building. 15 - touch "/Users/suri/Nyx/.envrc" 16 - 17 - # Also update the timestamp of whatever profile_rc we have. 18 - # This makes sure that we know we are up to date. 19 - touch -r "/Users/suri/Nyx/.envrc" "/Users/suri/Nyx/.direnv"/*.rc