zimfw: fix generated init.zsh to use $out

This commit is contained in:
Joe DeVivo 2023-02-23 09:59:14 -07:00
parent 988cc958c5
commit b348e7ef9f
No known key found for this signature in database

View File

@ -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; {