diff --git a/pkgs/shells/zsh/zimfw/default.nix b/pkgs/shells/zsh/zimfw/default.nix index 47f8b21c1dc9..249cb1b5154d 100644 --- a/pkgs/shells/zsh/zimfw/default.nix +++ b/pkgs/shells/zsh/zimfw/default.nix @@ -31,7 +31,8 @@ stdenv.mkDerivation rec { ## the `zimfw.zsh` where we currently are. postFixup = '' substituteInPlace $out/zimfw.zsh \ - --replace "\''${ZIM_HOME}/zimfw.zsh" "$out/zimfw.zsh" + --replace "\''${ZIM_HOME}/zimfw.zsh" "$out/zimfw.zsh" \ + --replace "\''${(q-)ZIM_HOME}/zimfw.zsh" "$out/zimfw.zsh" ''; meta = with lib; {