Merge pull request #217876 from joedevivo/zimfw-init-fix

zimfw: fix generated init.zsh to use $out
This commit is contained in:
Naïm Favier 2023-02-23 22:04:55 +01:00 committed by GitHub
commit 9c4b6bbad4
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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