aboutsummaryrefslogtreecommitdiff
path: root/pkgs/weznix.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/weznix.nix')
-rw-r--r--pkgs/weznix.nix13
1 files changed, 7 insertions, 6 deletions
diff --git a/pkgs/weznix.nix b/pkgs/weznix.nix
index 0996dff..6e803b2 100644
--- a/pkgs/weznix.nix
+++ b/pkgs/weznix.nix
@@ -4,7 +4,7 @@
nixToLua,
lib,
}:
-{
+{
configDirectory ? "~/.config/wezterm",
wrapConfig ? "WEZDEV",
luaPath,
@@ -51,11 +51,12 @@ in wezterm.overrideAttrs ({ postInstall ? "", nativeBuildInputs ? [], buildInput
buildInputs = buildInputs ++ extraPATH;
- postInstall = postInstall ++ #bash
+ postInstall = bash
''
+ ${postInstall}
- for bin in $out/bin/wezterm*; do
- wrapProgram "$bin" ${lib.escapeShellArgs wrapperArgs}
- done
- '';
+ for bin in $out/bin/wezterm*; do
+ wrapProgram "$bin" ${lib.escapeShellArgs wrapperArgs}
+ done
+ '';
})