diff options
author | Alan Pearce | 2024-04-05 01:41:52 +0200 |
---|---|---|
committer | Alan Pearce | 2024-04-05 14:14:37 +0200 |
commit | 232f2e64dc4b8f07eae5a74316991c79f17b4971 (patch) | |
tree | e2c31bd6debb1732b9af6a9e5ceac733ee66ecf5 /user/settings | |
parent | 8941b7439d4302c85b7ccfb4939383f3b97c1763 (diff) | |
download | nixfiles-232f2e64dc4b8f07eae5a74316991c79f17b4971.tar.lz nixfiles-232f2e64dc4b8f07eae5a74316991c79f17b4971.tar.zst nixfiles-232f2e64dc4b8f07eae5a74316991c79f17b4971.zip |
dev/base: fix hashing used for direnv layout
Diffstat (limited to 'user/settings')
-rw-r--r-- | user/settings/development/base.nix | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/user/settings/development/base.nix b/user/settings/development/base.nix index 524735de..6424888d 100644 --- a/user/settings/development/base.nix +++ b/user/settings/development/base.nix @@ -49,7 +49,7 @@ declare -A direnv_layout_dirs direnv_layout_dir() { echo "''${direnv_layout_dirs[$PWD]:=$( - local hash="$(${pkgs.coreutils}/bin/sha256sum - <<<"$\{PWD}" | cut -c-7)" + local hash="$(${pkgs.coreutils}/bin/sha256sum - <<<"''${PWD}" | cut -c-7)" local path="''${PWD//[^a-zA-Z0-9]/-}" echo "${config.xdg.cacheHome}/direnv/layouts/''${hash}''${path}" )}" |