From b348e7ef9f659477eea6cd188da76335149c7393 Mon Sep 17 00:00:00 2001 From: Joe DeVivo Date: Thu, 23 Feb 2023 09:59:14 -0700 Subject: [PATCH] zimfw: fix generated init.zsh to use $out --- pkgs/shells/zsh/zimfw/default.nix | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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; {