aboutsummaryrefslogtreecommitdiff
path: root/nixpkgs/pkgs/shells
diff options
context:
space:
mode:
authorKatharina Fey <kookie@spacekookie.de>2020-01-12 01:00:12 +0000
committerKatharina Fey <kookie@spacekookie.de>2020-01-12 01:00:12 +0000
commiteeaf5d25d5f6ae7ae1f5bf8a3dee4559693f8147 (patch)
treeafc41ca8dde96b41089ca324533084aef570322f /nixpkgs/pkgs/shells
parent63c4c4dda49dc69e5812faa7ef8406180998f3ae (diff)
parente4134747f5666bcab8680aff67fa3b63384f9a0f (diff)
Merge commit 'e4134747f5666bcab8680aff67fa3b63384f9a0f'
Diffstat (limited to 'nixpkgs/pkgs/shells')
-rw-r--r--nixpkgs/pkgs/shells/bash/4.4.nix2
-rw-r--r--nixpkgs/pkgs/shells/bash/5.0.nix2
-rw-r--r--nixpkgs/pkgs/shells/bash/bash-5.0-patches.nix2
-rw-r--r--nixpkgs/pkgs/shells/bash/bash-completion/default.nix10
-rw-r--r--nixpkgs/pkgs/shells/ion/default.nix4
-rw-r--r--nixpkgs/pkgs/shells/ksh/default.nix18
-rw-r--r--nixpkgs/pkgs/shells/mrsh/default.nix24
-rw-r--r--nixpkgs/pkgs/shells/nushell/default.nix17
-rw-r--r--nixpkgs/pkgs/shells/oil/default.nix4
-rw-r--r--nixpkgs/pkgs/shells/powershell/default.nix6
-rw-r--r--nixpkgs/pkgs/shells/zsh/gradle-completion/default.nix2
-rw-r--r--nixpkgs/pkgs/shells/zsh/grml-zsh-config/default.nix2
-rw-r--r--nixpkgs/pkgs/shells/zsh/oh-my-zsh/default.nix8
-rwxr-xr-xnixpkgs/pkgs/shells/zsh/oh-my-zsh/update.sh4
-rw-r--r--nixpkgs/pkgs/shells/zsh/zsh-history/0001-Fix-path-marshalling-when-saveing-config.patch25
-rw-r--r--nixpkgs/pkgs/shells/zsh/zsh-history/default.nix16
-rw-r--r--nixpkgs/pkgs/shells/zsh/zsh-powerlevel10k/default.nix39
-rw-r--r--nixpkgs/pkgs/shells/zsh/zsh-powerlevel10k/gitstatusd.patch14
-rw-r--r--nixpkgs/pkgs/shells/zsh/zsh-syntax-highlighting/default.nix2
19 files changed, 141 insertions, 60 deletions
diff --git a/nixpkgs/pkgs/shells/bash/4.4.nix b/nixpkgs/pkgs/shells/bash/4.4.nix
index e5e33c76d20..121368abf4c 100644
--- a/nixpkgs/pkgs/shells/bash/4.4.nix
+++ b/nixpkgs/pkgs/shells/bash/4.4.nix
@@ -41,7 +41,7 @@ stdenv.mkDerivation rec {
-DSSH_SOURCE_BASHRC
'';
- patchFlags = "-p0";
+ patchFlags = [ "-p0" ];
patches = upstreamPatches
++ optional stdenv.hostPlatform.isCygwin ./cygwin-bash-4.4.11-2.src.patch
diff --git a/nixpkgs/pkgs/shells/bash/5.0.nix b/nixpkgs/pkgs/shells/bash/5.0.nix
index b78282ab6e4..a06b08a5599 100644
--- a/nixpkgs/pkgs/shells/bash/5.0.nix
+++ b/nixpkgs/pkgs/shells/bash/5.0.nix
@@ -41,7 +41,7 @@ stdenv.mkDerivation rec {
-DSSH_SOURCE_BASHRC
'';
- patchFlags = "-p0";
+ patchFlags = [ "-p0" ];
patches = upstreamPatches;
diff --git a/nixpkgs/pkgs/shells/bash/bash-5.0-patches.nix b/nixpkgs/pkgs/shells/bash/bash-5.0-patches.nix
index 90bbc5e37dd..1f24a6dec12 100644
--- a/nixpkgs/pkgs/shells/bash/bash-5.0-patches.nix
+++ b/nixpkgs/pkgs/shells/bash/bash-5.0-patches.nix
@@ -10,4 +10,6 @@ patch: [
(patch "007" "16xg37gp1b8zlj5969w8mcrparwqlcbj9695vn3qhgb7wdz1xd0p")
(patch "008" "1qyp19krjh8zxvb0jgwmyjz40djslwcf4xi7kc1ab0iaca44bipf")
(patch "009" "00yrjjqd95s81b21qq3ba1y7h879q8jaajlkjggc6grhcwbs4g7d")
+(patch "010" "04ca5bjv456v538mkspzvn4xb2zdphh31r4fpvfm9p5my0jw7yyn")
+(patch "011" "1sklyixvsv8993kxzs0jigacpdchjrq7jv5xpdx7kbqyp4rf6k9c")
]
diff --git a/nixpkgs/pkgs/shells/bash/bash-completion/default.nix b/nixpkgs/pkgs/shells/bash/bash-completion/default.nix
index fbc07c86494..a741633340d 100644
--- a/nixpkgs/pkgs/shells/bash/bash-completion/default.nix
+++ b/nixpkgs/pkgs/shells/bash/bash-completion/default.nix
@@ -1,4 +1,5 @@
{ stdenv, fetchFromGitHub
+, fetchpatch
, autoreconfHook
, python3Packages
, bashInteractive
@@ -6,6 +7,7 @@
stdenv.mkDerivation rec {
pname = "bash-completion";
+ # TODO: Remove musl patch below upon next release!
version = "2.9";
src = fetchFromGitHub {
@@ -26,6 +28,14 @@ stdenv.mkDerivation rec {
patches = [
./0001-Revert-build-Do-cmake-pc-and-profile-variable-replac.patch
+ # TODO: Remove when https://github.com/scop/bash-completion/commit/2cdac1b9f24df62a1fa80c1824ee8524c9b02393
+ # is availabe in a release in nixpkgs. see https://github.com/scop/bash-completion/issues/312.
+ # Fixes a test failure with musl.
+ (fetchpatch {
+ url = "https://github.com/scop/bash-completion/commit/2cdac1b9f24df62a1fa80c1824ee8524c9b02393.patch";
+ name = "bash-completion-musl-test_iconv-skip-option-completion-if-help-fails";
+ sha256 = "1l53d62zf01k625nzw3vcrxky93h7bzdpchgk4argxalrn17ckvb";
+ })
];
# ignore ip_addresses because it tries to touch network
diff --git a/nixpkgs/pkgs/shells/ion/default.nix b/nixpkgs/pkgs/shells/ion/default.nix
index 2bd37659387..2010f34ef7e 100644
--- a/nixpkgs/pkgs/shells/ion/default.nix
+++ b/nixpkgs/pkgs/shells/ion/default.nix
@@ -23,4 +23,8 @@ buildRustPackage rec {
platforms = platforms.all;
broken = stdenv.isDarwin;
};
+
+ passthru = {
+ shellPath = "/bin/ion";
+ };
}
diff --git a/nixpkgs/pkgs/shells/ksh/default.nix b/nixpkgs/pkgs/shells/ksh/default.nix
index 80059e448c9..108d1a58758 100644
--- a/nixpkgs/pkgs/shells/ksh/default.nix
+++ b/nixpkgs/pkgs/shells/ksh/default.nix
@@ -1,16 +1,24 @@
-{ stdenv, meson, ninja, fetchFromGitHub, which, python, libiconv }:
+{ stdenv, meson, ninja, fetchFromGitHub, which, python, fetchpatch
+, libiconv }:
-stdenv.mkDerivation {
+stdenv.mkDerivation rec {
pname = "ksh";
- version = "93v";
+ version = "2020.0.0";
src = fetchFromGitHub {
owner = "att";
repo = "ast";
- rev = "b8d88244ae87857e7bbd6da230ffbbc51165df70";
- sha256 = "12kf14n8vz36hnsy3wp6lnyv1841p7hcq25y1d78w532dil69lx9";
+ rev = version;
+ sha256 = "0cdxz0nhpq03gb9rd76fn0x1yzs2c8q289b7vcxnzlsrz1imz65j";
};
+ patches = [
+ (fetchpatch {
+ url = "https://github.com/att/ast/commit/11983a71f5e29df578b7e2184400728b4e3f451d.patch";
+ sha256 = "1n9558c4v2qpgpjb1vafs29n3qn3z0770wr1ayc0xjf5z5j4g3kv";
+ })
+ ];
+
nativeBuildInputs = [ meson ninja which python ];
buildInputs = [ libiconv ];
diff --git a/nixpkgs/pkgs/shells/mrsh/default.nix b/nixpkgs/pkgs/shells/mrsh/default.nix
new file mode 100644
index 00000000000..9036e085429
--- /dev/null
+++ b/nixpkgs/pkgs/shells/mrsh/default.nix
@@ -0,0 +1,24 @@
+{ stdenv, lib, fetchFromGitHub, meson, ninja, pkgconfig, readline }:
+
+stdenv.mkDerivation rec {
+ pname = "mrsh";
+ version = "2020-01-08";
+
+ src = fetchFromGitHub {
+ owner = "emersion";
+ repo = "mrsh";
+ rev = "ef21854fc9ce172fb1f7f580b19a89d030d67c65";
+ sha256 = "1iyxmwl61p2x9v9b22416n4lnrlwjqyxybq35x8bcbjxkwypp943";
+ };
+
+ nativeBuildInputs = [ meson ninja pkgconfig ];
+ buildInputs = [ readline ];
+
+ meta = with stdenv.lib; {
+ description = "A minimal POSIX shell";
+ homepage = "https://mrsh.sh";
+ license = licenses.mit;
+ maintainers = with maintainers; [ matthiasbeyer ];
+ platforms = platforms.linux;
+ };
+}
diff --git a/nixpkgs/pkgs/shells/nushell/default.nix b/nixpkgs/pkgs/shells/nushell/default.nix
index 3b37610eced..de8502618c6 100644
--- a/nixpkgs/pkgs/shells/nushell/default.nix
+++ b/nixpkgs/pkgs/shells/nushell/default.nix
@@ -8,31 +8,31 @@
, libiconv
, AppKit
, Security
-, withAllFeatures ? true
+, withStableFeatures ? true
}:
rustPlatform.buildRustPackage rec {
pname = "nushell";
- version = "0.6.0";
+ version = "0.8.0";
src = fetchFromGitHub {
owner = pname;
repo = pname;
rev = version;
- sha256 = "012fhy7ni4kyxypn25ssj6py1zxwk41bj4xb1ni4zaw47fqsj1nw";
+ sha256 = "1hw9fazf5m80p39wgjqjcxafkfjxh0rkjmiznn2p66gccjnkddm6";
};
- cargoSha256 = "17r6g80qcy1mb195fl5iwcr83d35q2hs71camhwjbdh8yrs9l1la";
+ cargoSha256 = "17hx02g9m3l2kgxba0n6wmixdbd9g8443h085v8shd70c6vln2v8";
nativeBuildInputs = [ pkg-config ]
- ++ stdenv.lib.optionals (withAllFeatures && stdenv.isLinux) [ python3 ];
+ ++ stdenv.lib.optionals (withStableFeatures && stdenv.isLinux) [ python3 ];
buildInputs = stdenv.lib.optionals stdenv.isLinux [ openssl ]
++ stdenv.lib.optionals stdenv.isDarwin [ libiconv Security ]
- ++ stdenv.lib.optionals (withAllFeatures && stdenv.isLinux) [ xorg.libX11 ]
- ++ stdenv.lib.optionals (withAllFeatures && stdenv.isDarwin) [ AppKit ];
+ ++ stdenv.lib.optionals (withStableFeatures && stdenv.isLinux) [ xorg.libX11 ]
+ ++ stdenv.lib.optionals (withStableFeatures && stdenv.isDarwin) [ AppKit ];
- cargoBuildFlags = stdenv.lib.optional withAllFeatures "--all-features";
+ cargoBuildFlags = stdenv.lib.optional withStableFeatures "--features=stable";
preCheck = ''
export HOME=$TMPDIR
@@ -43,6 +43,7 @@ rustPlatform.buildRustPackage rec {
homepage = "https://www.nushell.sh/";
license = licenses.mit;
maintainers = with maintainers; [ filalex77 marsam ];
+ platforms = [ "x86_64-linux" "i686-linux" "x86_64-darwin" ];
};
passthru = {
diff --git a/nixpkgs/pkgs/shells/oil/default.nix b/nixpkgs/pkgs/shells/oil/default.nix
index eeb6f9ab6a9..13b36bf54ad 100644
--- a/nixpkgs/pkgs/shells/oil/default.nix
+++ b/nixpkgs/pkgs/shells/oil/default.nix
@@ -2,11 +2,11 @@
stdenv.mkDerivation rec {
pname = "oil";
- version = "0.7.pre6";
+ version = "0.7.pre9";
src = fetchurl {
url = "https://www.oilshell.org/download/oil-${version}.tar.xz";
- sha256 = "1yhfrxrqd4jbjsf0g2fkxv8zypcndnikv9g15yp9szgp4sh1r9vv";
+ sha256 = "1j17yxpjqv37vbl3qhnwl3gdmb33n9c6g6byxcc8mhbvbw91zi5i";
};
postPatch = ''
diff --git a/nixpkgs/pkgs/shells/powershell/default.nix b/nixpkgs/pkgs/shells/powershell/default.nix
index b999070a49e..faab933ae25 100644
--- a/nixpkgs/pkgs/shells/powershell/default.nix
+++ b/nixpkgs/pkgs/shells/powershell/default.nix
@@ -31,7 +31,7 @@ stdenv.mkDerivation rec {
mkdir -p $out/share/powershell
cp -r * $out/share/powershell
makeWrapper $out/share/powershell/pwsh $out/bin/pwsh --prefix ${platformLdLibraryPath} : "${stdenv.lib.makeLibraryPath libraries}" \
- --set TERM xterm --set POWERSHELL_TELEMETRY_OPTOUT 1
+ --set TERM xterm --set POWERSHELL_TELEMETRY_OPTOUT 1 --set DOTNET_CLI_TELEMETRY_OPTOUT 1
'';
dontStrip = true;
@@ -44,4 +44,8 @@ stdenv.mkDerivation rec {
license = with licenses; [ mit ];
};
+ passthru = {
+ shellPath = "/bin/pwsh";
+ };
+
}
diff --git a/nixpkgs/pkgs/shells/zsh/gradle-completion/default.nix b/nixpkgs/pkgs/shells/zsh/gradle-completion/default.nix
index ed46a21325c..d13fd8aee00 100644
--- a/nixpkgs/pkgs/shells/zsh/gradle-completion/default.nix
+++ b/nixpkgs/pkgs/shells/zsh/gradle-completion/default.nix
@@ -30,6 +30,6 @@ stdenv.mkDerivation rec {
description = "Gradle tab completion for bash and zsh";
homepage = https://github.com/gradle/gradle-completion;
license = licenses.mit;
- maintainers = with maintainers; [ ma27 ];
+ maintainers = with maintainers; [ ];
};
}
diff --git a/nixpkgs/pkgs/shells/zsh/grml-zsh-config/default.nix b/nixpkgs/pkgs/shells/zsh/grml-zsh-config/default.nix
index 80f51dbb763..d23999abf3d 100644
--- a/nixpkgs/pkgs/shells/zsh/grml-zsh-config/default.nix
+++ b/nixpkgs/pkgs/shells/zsh/grml-zsh-config/default.nix
@@ -15,7 +15,7 @@ stdenv.mkDerivation rec {
};
buildInputs = [ zsh coreutils txt2tags procps ]
- ++ optional stdenv.isLinux [ inetutils ];
+ ++ optional stdenv.isLinux inetutils;
buildPhase = ''
cd doc
diff --git a/nixpkgs/pkgs/shells/zsh/oh-my-zsh/default.nix b/nixpkgs/pkgs/shells/zsh/oh-my-zsh/default.nix
index db19d340a57..e53ee1394ed 100644
--- a/nixpkgs/pkgs/shells/zsh/oh-my-zsh/default.nix
+++ b/nixpkgs/pkgs/shells/zsh/oh-my-zsh/default.nix
@@ -4,13 +4,13 @@
{ stdenv, fetchgit }:
stdenv.mkDerivation rec {
- version = "2019-11-23";
+ version = "2020-01-04";
pname = "oh-my-zsh";
- rev = "7b73c9ca1ced57cdf545e860e880658753b81777";
+ rev = "78b07e92fd4a3a5e1f92ee4e3d680c39b72c2245";
src = fetchgit { inherit rev;
- url = "https://github.com/robbyrussell/oh-my-zsh";
- sha256 = "1mxqa2gf309vjdb1snbczrqwpwi7y6rnmv3n77hsph41bb6j64rz";
+ url = "https://github.com/ohmyzsh/ohmyzsh";
+ sha256 = "1s5vr89dxgm1g3jcqybx4an80x0gmda4lh8y36r2dafxwmb09qmk";
};
pathsToLink = [ "/share/oh-my-zsh" ];
diff --git a/nixpkgs/pkgs/shells/zsh/oh-my-zsh/update.sh b/nixpkgs/pkgs/shells/zsh/oh-my-zsh/update.sh
index 9567a2b6ae5..0146cac8496 100755
--- a/nixpkgs/pkgs/shells/zsh/oh-my-zsh/update.sh
+++ b/nixpkgs/pkgs/shells/zsh/oh-my-zsh/update.sh
@@ -4,11 +4,11 @@
set -eu -o pipefail
oldVersion="$(nix-instantiate --eval -E "with import ./. {}; lib.getVersion oh-my-zsh" | tr -d '"')"
-latestSha="$(curl -L -s https://api.github.com/repos/robbyrussell/oh-my-zsh/commits\?sha\=master\&since\=${oldVersion} | jq -r '.[0].sha')"
+latestSha="$(curl -L -s https://api.github.com/repos/ohmyzsh/ohmyzsh/commits\?sha\=master\&since\=${oldVersion} | jq -r '.[0].sha')"
url="$(nix-instantiate --eval -E "with import ./. {}; oh-my-zsh.src.url" | tr -d '"')"
if [ ! "null" = "${latestSha}" ]; then
- latestDate="$(curl -L -s https://api.github.com/repos/robbyrussell/oh-my-zsh/commits/${latestSha} | jq '.commit.author.date' | sed 's|"\(.*\)T.*|\1|g')"
+ latestDate="$(curl -L -s https://api.github.com/repos/ohmyzsh/ohmyzsh/commits/${latestSha} | jq '.commit.author.date' | sed 's|"\(.*\)T.*|\1|g')"
update-source-version oh-my-zsh "${latestSha}" --version-key=rev
update-source-version oh-my-zsh "${latestDate}" --ignore-same-hash
nixpkgs="$(git rev-parse --show-toplevel)"
diff --git a/nixpkgs/pkgs/shells/zsh/zsh-history/0001-Fix-path-marshalling-when-saveing-config.patch b/nixpkgs/pkgs/shells/zsh/zsh-history/0001-Fix-path-marshalling-when-saveing-config.patch
deleted file mode 100644
index 0c4fd22c54f..00000000000
--- a/nixpkgs/pkgs/shells/zsh/zsh-history/0001-Fix-path-marshalling-when-saveing-config.patch
+++ /dev/null
@@ -1,25 +0,0 @@
-From efc16fbe7e41784f218d9c6cb4239b209cd77214 Mon Sep 17 00:00:00 2001
-From: Christian Kampka <christian@kampka.net>
-Date: Sat, 12 Oct 2019 21:47:47 +0200
-Subject: [PATCH 1/2] Fix path marshalling when saveing config
-
----
- config/config.go | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
-diff --git a/config/config.go b/config/config.go
-index 69a10c5..b5c61fe 100644
---- a/config/config.go
-+++ b/config/config.go
-@@ -26,7 +26,7 @@ func (p *Path) UnmarshalText(text []byte) error {
- return nil
- }
-
--func (p *Path) MarshalText() (text []byte, err error) {
-+func (p Path) MarshalText() (text []byte, err error) {
- return []byte(p.path), nil
- }
-
---
-2.19.2
-
diff --git a/nixpkgs/pkgs/shells/zsh/zsh-history/default.nix b/nixpkgs/pkgs/shells/zsh/zsh-history/default.nix
index 6bbcdac2c17..ece3c87cb66 100644
--- a/nixpkgs/pkgs/shells/zsh/zsh-history/default.nix
+++ b/nixpkgs/pkgs/shells/zsh/zsh-history/default.nix
@@ -1,20 +1,16 @@
-{ lib, fetchFromGitHub, buildGoModule, installShellFiles }:
+{ lib, fetchFromGitHub, buildGoModule, installShellFiles, nixosTests }:
buildGoModule rec {
pname = "zsh-history";
- version = "2019-10-07";
+ version = "2019-12-10";
src = fetchFromGitHub {
owner = "b4b4r07";
repo = "history";
- rev = "a08ad2dcffc852903ae54b0c5704b8a085009ef7";
- sha256 = "0r3p04my40dagsq1dssnk583qrlcps9f7ajp43z7mq73q3hrya5s";
+ rev = "8da016bd91b0c2eb53c9980f00eee6abdbb097e2";
+ sha256 = "13n643ik1zjvpk8h9458yd9ffahhbdnigmbrbmpn7b7g23wqqsi3";
};
- patches = [
- ./0001-Fix-path-marshalling-when-saveing-config.patch
- ];
-
nativeBuildInputs = [ installShellFiles ];
modSha256 = "0f10b86gyn7m7lw43c8y1m30mdg0i092a319v3cb2qj05jb9vn42";
@@ -33,4 +29,8 @@ buildGoModule rec {
platforms = platforms.unix;
maintainers = with maintainers; [ kampka ];
};
+
+ passthru.tests = {
+ zsh-history-shell-integration = nixosTests.zsh-history;
+ };
}
diff --git a/nixpkgs/pkgs/shells/zsh/zsh-powerlevel10k/default.nix b/nixpkgs/pkgs/shells/zsh/zsh-powerlevel10k/default.nix
new file mode 100644
index 00000000000..d5081476efb
--- /dev/null
+++ b/nixpkgs/pkgs/shells/zsh/zsh-powerlevel10k/default.nix
@@ -0,0 +1,39 @@
+{ stdenv, fetchFromGitHub, substituteAll, pkgs }:
+
+# To make use of this derivation, use
+# `programs.zsh.promptInit = "source ${pkgs.zsh-powerlevel10k}/share/zsh-powerlevel10k/powerlevel10k.zsh-theme";`
+
+stdenv.mkDerivation {
+ pname = "powerlevel10k";
+ version = "unstable-2019-12-19";
+ src = fetchFromGitHub {
+ owner = "romkatv";
+ repo = "powerlevel10k";
+ rev = "8ef2b737d1f6099966a1eb16bdfc90d67b367f22";
+ sha256 = "02b25klkyyhpdbf2vwzzbrd8hnfjpckbpjy6532ir6jqp2n2ivpj";
+ };
+
+ patches = [
+ (substituteAll {
+ src = ./gitstatusd.patch;
+ gitstatusdPath = "${pkgs.gitAndTools.gitstatus}/bin/gitstatusd";
+ })
+ ];
+
+ installPhase = ''
+ install -D powerlevel10k.zsh-theme --target-directory=$out/share/zsh-powerlevel10k
+ install -D config/* --target-directory=$out/share/zsh-powerlevel10k/config
+ install -D internal/* --target-directory=$out/share/zsh-powerlevel10k/internal
+ rm -r gitstatus/bin
+ install -D gitstatus/* --target-directory=$out/share/zsh-powerlevel10k/gitstatus
+ '';
+
+ meta = {
+ description = "A fast reimplementation of Powerlevel9k ZSH theme";
+ homepage = "https://github.com/romkatv/powerlevel10k";
+ license = stdenv.lib.licenses.mit;
+
+ platforms = stdenv.lib.platforms.unix;
+ maintainers = [ stdenv.lib.maintainers.hexa ];
+ };
+}
diff --git a/nixpkgs/pkgs/shells/zsh/zsh-powerlevel10k/gitstatusd.patch b/nixpkgs/pkgs/shells/zsh/zsh-powerlevel10k/gitstatusd.patch
new file mode 100644
index 00000000000..a4440079e4b
--- /dev/null
+++ b/nixpkgs/pkgs/shells/zsh/zsh-powerlevel10k/gitstatusd.patch
@@ -0,0 +1,14 @@
+diff --git a/gitstatus/gitstatus.plugin.zsh b/gitstatus/gitstatus.plugin.zsh
+index 46d0b3c..b082e24 100644
+--- a/gitstatus/gitstatus.plugin.zsh
++++ b/gitstatus/gitstatus.plugin.zsh
+@@ -53,6 +53,8 @@
+
+ [[ -o 'interactive' ]] || 'return'
+
++GITSTATUS_DAEMON=@gitstatusdPath@
++
+ # Temporarily change options.
+ 'builtin' 'local' '-a' '_gitstatus_opts'
+ [[ ! -o 'aliases' ]] || _gitstatus_opts+=('aliases')
+
diff --git a/nixpkgs/pkgs/shells/zsh/zsh-syntax-highlighting/default.nix b/nixpkgs/pkgs/shells/zsh/zsh-syntax-highlighting/default.nix
index 741587ef960..0dbfba52c0f 100644
--- a/nixpkgs/pkgs/shells/zsh/zsh-syntax-highlighting/default.nix
+++ b/nixpkgs/pkgs/shells/zsh/zsh-syntax-highlighting/default.nix
@@ -15,7 +15,7 @@ stdenv.mkDerivation rec {
buildInputs = [ zsh ];
- installFlags = "PREFIX=$(out)";
+ installFlags = [ "PREFIX=$(out)" ];
meta = with stdenv.lib; {
description = "Fish shell like syntax highlighting for Zsh";