summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--user/settings/development/base.nix2
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}"
       )}"