aboutsummaryrefslogtreecommitdiff
path: root/nixpkgs/pkgs/shells
diff options
context:
space:
mode:
authorKaiden Fey <kookie@spacekookie.de>2020-09-19 15:00:33 +0200
committerKatharina Fey <kookie@spacekookie.de>2020-09-19 15:00:33 +0200
commite0800985dab8f8ebb4cebdfd7e361fd1fafdb2a7 (patch)
tree289f43c72dd1fffeec4eb18ced05ae91e50c179a /nixpkgs/pkgs/shells
parent5581b5521e14317c3507a6e8451a3f14996e5c4d (diff)
parent441a7da8080352881bb52f85e910d8855e83fc55 (diff)
Merge commit '441a7da8080352881bb52f85e910d8855e83fc55'
Diffstat (limited to 'nixpkgs/pkgs/shells')
-rw-r--r--nixpkgs/pkgs/shells/dash/default.nix7
-rw-r--r--nixpkgs/pkgs/shells/elvish/default.nix6
-rw-r--r--nixpkgs/pkgs/shells/ion/default.nix1
-rw-r--r--nixpkgs/pkgs/shells/liquidprompt/default.nix6
-rw-r--r--nixpkgs/pkgs/shells/nushell/default.nix10
-rw-r--r--nixpkgs/pkgs/shells/rssh/default.nix97
-rw-r--r--nixpkgs/pkgs/shells/rssh/fix-config-path.patch12
-rw-r--r--nixpkgs/pkgs/shells/xonsh/default.nix5
-rw-r--r--nixpkgs/pkgs/shells/zsh/antibody/default.nix6
-rw-r--r--nixpkgs/pkgs/shells/zsh/grml-zsh-config/default.nix4
-rw-r--r--nixpkgs/pkgs/shells/zsh/oh-my-zsh/default.nix90
-rwxr-xr-xnixpkgs/pkgs/shells/zsh/oh-my-zsh/update.sh1
-rw-r--r--nixpkgs/pkgs/shells/zsh/pure-prompt/default.nix6
-rw-r--r--nixpkgs/pkgs/shells/zsh/spaceship-prompt/default.nix2
-rw-r--r--nixpkgs/pkgs/shells/zsh/zsh-history/default.nix3
-rw-r--r--nixpkgs/pkgs/shells/zsh/zsh-nix-shell/default.nix8
-rw-r--r--nixpkgs/pkgs/shells/zsh/zsh-powerlevel10k/default.nix4
17 files changed, 82 insertions, 186 deletions
diff --git a/nixpkgs/pkgs/shells/dash/default.nix b/nixpkgs/pkgs/shells/dash/default.nix
index f9dd578ad98..3f344f673f1 100644
--- a/nixpkgs/pkgs/shells/dash/default.nix
+++ b/nixpkgs/pkgs/shells/dash/default.nix
@@ -1,4 +1,4 @@
-{ autoreconfHook, lib, stdenv, fetchurl }:
+{ stdenv, buildPackages, autoreconfHook, fetchurl }:
stdenv.mkDerivation rec {
name = "dash-0.5.11.1";
@@ -11,8 +11,9 @@ stdenv.mkDerivation rec {
hardeningDisable = [ "format" ];
# Temporary fix until a proper one is accepted upstream
- patches = lib.lists.optional stdenv.isDarwin ./0001-fix-dirent64-et-al-on-darwin.patch;
- nativeBuildInputs = lib.lists.optional stdenv.isDarwin autoreconfHook;
+ patches = stdenv.lib.optional stdenv.isDarwin ./0001-fix-dirent64-et-al-on-darwin.patch;
+ depsBuildBuild = [ buildPackages.stdenv.cc ];
+ nativeBuildInputs = stdenv.lib.optional stdenv.isDarwin autoreconfHook;
meta = with stdenv.lib; {
homepage = "http://gondor.apana.org.au/~herbert/dash/";
diff --git a/nixpkgs/pkgs/shells/elvish/default.nix b/nixpkgs/pkgs/shells/elvish/default.nix
index 7d9fe0da17c..2cb45f33f7b 100644
--- a/nixpkgs/pkgs/shells/elvish/default.nix
+++ b/nixpkgs/pkgs/shells/elvish/default.nix
@@ -2,7 +2,7 @@
buildGoModule rec {
pname = "elvish";
- version = "0.14.0";
+ version = "0.14.1";
excludedPackages = [ "website" ];
@@ -12,11 +12,13 @@ buildGoModule rec {
owner = "elves";
repo = pname;
rev = "v${version}";
- sha256 = "1jsxhnm82pjzwvcjq7vrlldyjnv5j6c83a13dj6zphlqq99z68l4";
+ sha256 = "05wp3cx4s2cjf60yncdpmycs5h4z1dlin56dmljmfwz4z099079b";
};
vendorSha256 = "1f971n17h9bc0qcgs9ipiaw0x9807mz761fqm605br4ch1kp0897";
+ doCheck = false;
+
meta = with stdenv.lib; {
description = "A friendly and expressive command shell";
longDescription = ''
diff --git a/nixpkgs/pkgs/shells/ion/default.nix b/nixpkgs/pkgs/shells/ion/default.nix
index ca2f7a6d515..f84f150bc55 100644
--- a/nixpkgs/pkgs/shells/ion/default.nix
+++ b/nixpkgs/pkgs/shells/ion/default.nix
@@ -18,7 +18,6 @@ rustPlatform.buildRustPackage rec {
homepage = "https://gitlab.redox-os.org/redox-os/ion";
license = licenses.mit;
maintainers = with maintainers; [ dywedir ];
- platforms = platforms.all;
};
passthru = {
diff --git a/nixpkgs/pkgs/shells/liquidprompt/default.nix b/nixpkgs/pkgs/shells/liquidprompt/default.nix
index d6d655d1f17..783c07d1600 100644
--- a/nixpkgs/pkgs/shells/liquidprompt/default.nix
+++ b/nixpkgs/pkgs/shells/liquidprompt/default.nix
@@ -2,13 +2,13 @@
stdenv.mkDerivation rec {
pname = "liquidprompt";
- version = "unstable-2018-05-21";
+ version = "1.12.0";
src = fetchFromGitHub {
owner = "nojhan";
repo = pname;
- rev = "eda83efe4e0044f880370ed5e92aa7e3fdbef971";
- sha256 = "1p7ah3x850ajpq07xvxxd7fx2i67cf0n71ww085g32k9fwij4rd4";
+ rev = "v${version}";
+ sha256 = "0ibp1bz9s4bp3y5anivg5gp31q78024w39v7hbfw05qy25ax5h60";
};
installPhase = ''
diff --git a/nixpkgs/pkgs/shells/nushell/default.nix b/nixpkgs/pkgs/shells/nushell/default.nix
index 10d1b4267eb..09d2f6aac1a 100644
--- a/nixpkgs/pkgs/shells/nushell/default.nix
+++ b/nixpkgs/pkgs/shells/nushell/default.nix
@@ -14,16 +14,16 @@
rustPlatform.buildRustPackage rec {
pname = "nushell";
- version = "0.17.0";
+ version = "0.19.0";
src = fetchFromGitHub {
owner = pname;
repo = pname;
rev = version;
- sha256 = "1a5jr1fh2n57lz84n6bvh78kjnvyaivjxwn95qkiiacvam2ji1h5";
+ sha256 = "08r6f71cy4j22k0mllm134x4dfixaircpaz5arrj93xsbp38nk92";
};
- cargoSha256 = "16m2bjmkcby14sd21axfr9qvghhyf5q2wdrmjw1dl3c8xhghqyy8";
+ cargoSha256 = "15kvl490abxdv6706zs7pv0q5fhghmdvlfbn19037sldkcsfl86b";
nativeBuildInputs = [ pkg-config ]
++ lib.optionals (withStableFeatures && stdenv.isLinux) [ python3 ];
@@ -50,8 +50,8 @@ rustPlatform.buildRustPackage rec {
description = "A modern shell written in Rust";
homepage = "https://www.nushell.sh/";
license = licenses.mit;
- maintainers = with maintainers; [ filalex77 marsam ];
- platforms = [ "x86_64-linux" "i686-linux" "x86_64-darwin" ];
+ maintainers = with maintainers; [ filalex77 johntitor marsam ];
+ platforms = [ "x86_64-linux" "i686-linux" "x86_64-darwin" "aarch64-linux" ];
};
passthru = {
diff --git a/nixpkgs/pkgs/shells/rssh/default.nix b/nixpkgs/pkgs/shells/rssh/default.nix
deleted file mode 100644
index b2bec51a95e..00000000000
--- a/nixpkgs/pkgs/shells/rssh/default.nix
+++ /dev/null
@@ -1,97 +0,0 @@
-# CAVEATS:
-# - Have only tested this with rsync, scp, and sftp. cvs support should work, but chroot integration is unlikely to function without further work
-# - It is compiled without rdist support because rdist is ludicrously ancient (and not already in nixpkgs)
-
-{ stdenv, fetchurl, openssh, rsync, cvs }:
-
-stdenv.mkDerivation rec {
- pname = "rssh";
- version = "2.3.4";
-
- src = fetchurl {
- url = "mirror://sourceforge/rssh/rssh/${version}/${pname}-${version}.tar.gz";
- sha256 = "f30c6a760918a0ed39cf9e49a49a76cb309d7ef1c25a66e77a41e2b1d0b40cd9";
- };
-
- patches = [
- ./fix-config-path.patch
-
- # Patches from AUR
- (fetchurl {
- url = "https://aur.archlinux.org/cgit/aur.git/plain/0001-fail-logging.patch?h=rssh";
- name = "0001-fail-logging.patch";
- sha256 = "d30f2f4fdb1b57f94773f5b0968a4da3356b14a040efe69ec1e976c615035c65";
- })
- (fetchurl {
- url = "https://aur.archlinux.org/cgit/aur.git/plain/0002-info-to-debug.patch?h=rssh";
- name = "0002-info-to-debug.patch";
- sha256 = "86f6ecf34f62415b0d6204d4cbebc47322dc2ec71732d06aa27758e35d688fcd";
- })
- (fetchurl {
- url = "https://aur.archlinux.org/cgit/aur.git/plain/0003-man-page-spelling.patch?h=rssh";
- name = "0003-man-page-spelling.patch";
- sha256 = "455b3bbccddf1493999d00c2cd46e62930ef4fd8211e0b7d3a89d8010d6a5431";
- })
- (fetchurl {
- url = "https://aur.archlinux.org/cgit/aur.git/plain/0004-mkchroot.patch?h=rssh";
- name = "0004-mkchroot.patch";
- sha256 = "f7fd8723d2aa94e64e037c13c2f263a52104af680ab52bfcaea73dfa836457c2";
- })
- (fetchurl {
- url = "https://aur.archlinux.org/cgit/aur.git/plain/0005-mkchroot-arch.patch?h=rssh";
- name = "0005-mkchroot-arch.patch";
- sha256 = "ac8894c4087a063ae8267d2fdfcde69c2fe6b67a8ff5917e4518b8f73f08ba3f";
- })
- (fetchurl {
- url = "https://aur.archlinux.org/cgit/aur.git/plain/0006-mkchroot-symlink.patch?h=rssh";
- name = "0006-mkchroot-symlink.patch";
- sha256 = "bce98728cb9b55c92182d4901c5f9adf49376a07c5603514b0004e3d1c85e9c7";
- })
- (fetchurl {
- url = "https://aur.archlinux.org/cgit/aur.git/plain/0007-destdir.patch?h=rssh";
- name = "0007-destdir.patch";
- sha256 = "7fa03644f81dc37d77cc7e2cad994f17f91b2b8a49b1a74e41030a4ac764385e";
- })
- (fetchurl {
- url = "https://aur.archlinux.org/cgit/aur.git/plain/0008-rsync-protocol.patch?h=rssh";
- name = "0008-rsync-protocol.patch";
- sha256 = "0c772afe9088eeded129ead86775ef18e58c318bbc58fc3e2585e7ff09cc5e91";
- })
- ];
-
- # Run this after to avoid conflict with patches above
- postPatch = ''
- sed -i '/chmod u+s/d' Makefile.in
- '';
-
-
- buildInputs = [ openssh rsync cvs ];
-
- configureFlags = [
- "--with-sftp-server=${openssh}/libexec/sftp-server"
- "--with-scp=${openssh}/bin/scp"
- "--with-rsync=${rsync}/bin/rsync"
- "--with-cvs=${cvs}/bin/cvs"
- ];
-
-
- meta = with stdenv.lib; {
- description = "A restricted shell for use with OpenSSH, allowing only scp and/or sftp";
- longDescription = ''
- rssh also includes support for rsync and cvs. For example, if you have a server which you only want to allow users to copy files off of via scp, without providing shell access, you can use rssh to do that.
- '';
- homepage = "http://www.pizzashack.org/rssh/";
- license = licenses.bsd2;
- platforms = platforms.linux;
- maintainers = with maintainers; [ arobyn ];
- knownVulnerabilities = [
- "CVE-2019-1000018"
- "CVE-2019-3463"
- "CVE-2019-3464"
- ];
- };
-
- passthru = {
- shellPath = "/bin/rssh";
- };
-}
diff --git a/nixpkgs/pkgs/shells/rssh/fix-config-path.patch b/nixpkgs/pkgs/shells/rssh/fix-config-path.patch
deleted file mode 100644
index eecffb376ab..00000000000
--- a/nixpkgs/pkgs/shells/rssh/fix-config-path.patch
+++ /dev/null
@@ -1,12 +0,0 @@
-diff -Naur rssh-2.3.4/Makefile.in rssh-2.3.4-fixed/Makefile.in
---- rssh-2.3.4/Makefile.in 2012-11-27 11:19:34.000000000 +1100
-+++ rssh-2.3.4-fixed/Makefile.in 2015-11-11 21:13:58.516651742 +1100
-@@ -186,7 +186,7 @@
- sysconfdir = @sysconfdir@
- target_alias = @target_alias@
- AUTOMAKE_OPTIONS = nostdinc
--ourdefs = -DPATH_RSSH_CONFIG=\"@sysconfdir@/rssh.conf\" -DPATH_CHROOT_HELPER=\"@libexecdir@/rssh_chroot_helper\"
-+ourdefs = -DPATH_RSSH_CONFIG=\"/etc/rssh.conf\" -DPATH_CHROOT_HELPER=\"@libexecdir@/rssh_chroot_helper\"
- ourflags = @defcflags@ @static@
- AM_CFLAGS = $(ourflags)
- nodist_rssh_SOURCES = main.c pathnames.h config.h
diff --git a/nixpkgs/pkgs/shells/xonsh/default.nix b/nixpkgs/pkgs/shells/xonsh/default.nix
index 192e38b963d..751dd00efc7 100644
--- a/nixpkgs/pkgs/shells/xonsh/default.nix
+++ b/nixpkgs/pkgs/shells/xonsh/default.nix
@@ -8,17 +8,18 @@
python3Packages.buildPythonApplication rec {
pname = "xonsh";
- version = "0.9.18";
+ version = "0.9.21";
# fetch from github because the pypi package ships incomplete tests
src = fetchFromGitHub {
owner = "xonsh";
repo = "xonsh";
rev = version;
- sha256 = "1zg5dl9qdysbaw2djy9f7f1ydp7vzjv840cjwqxlmg9615lgg7xa";
+ sha256 = "16k8506fk54krpkls374cn3vm1dp9ixi0byh5xvi3m5a4bnbvrs0";
};
LC_ALL = "en_US.UTF-8";
+
postPatch = ''
sed -ie "s|/bin/ls|${coreutils}/bin/ls|" tests/test_execer.py
sed -ie "s|SHELL=xonsh|SHELL=$out/bin/xonsh|" tests/test_integrations.py
diff --git a/nixpkgs/pkgs/shells/zsh/antibody/default.nix b/nixpkgs/pkgs/shells/zsh/antibody/default.nix
index baceb6fdb8c..325bae4f9cc 100644
--- a/nixpkgs/pkgs/shells/zsh/antibody/default.nix
+++ b/nixpkgs/pkgs/shells/zsh/antibody/default.nix
@@ -2,17 +2,19 @@
buildGoModule rec {
pname = "antibody";
- version = "6.1.0";
+ version = "6.1.1";
src = fetchFromGitHub {
owner = "getantibody";
repo = "antibody";
rev = "v${version}";
- sha256 = "0ldvihpm14h0gcn7iz5yxg1wbfv24flx6y8khdanw21lf9nmp59z";
+ sha256 = "0icag53svzdm7yvzp855fp0f7q0g0jkfmjaa1sj6mmb01c1xgzi1";
};
vendorSha256 = "0z8fma3v2dph8nv3q4lmv43s6p5sc338xb7kcmnpwcc0iw7b4vyj";
+ doCheck = false;
+
buildFlagsArray = [ "-ldflags=-s -w -X main.version=${version}" ];
meta = with lib; {
diff --git a/nixpkgs/pkgs/shells/zsh/grml-zsh-config/default.nix b/nixpkgs/pkgs/shells/zsh/grml-zsh-config/default.nix
index 2012e27e538..6af16271d38 100644
--- a/nixpkgs/pkgs/shells/zsh/grml-zsh-config/default.nix
+++ b/nixpkgs/pkgs/shells/zsh/grml-zsh-config/default.nix
@@ -5,13 +5,13 @@ with lib;
stdenv.mkDerivation rec {
pname = "grml-zsh-config";
- version = "0.17.3";
+ version = "0.17.4";
src = fetchFromGitHub {
owner = "grml";
repo = "grml-etc-core";
rev = "v${version}";
- sha256 = "1d5d68gflf67hsg1gy2ywssfdx61j1kl799akhvlwi5c0vvszvpi";
+ sha256 = "09c3f7s2r0cb8g9kgh3xhc8dhr1656g1q9s9i3s5imvknwqii6as";
};
buildInputs = [ zsh coreutils txt2tags procps ]
diff --git a/nixpkgs/pkgs/shells/zsh/oh-my-zsh/default.nix b/nixpkgs/pkgs/shells/zsh/oh-my-zsh/default.nix
index 1f22099e901..f1de3ee8214 100644
--- a/nixpkgs/pkgs/shells/zsh/oh-my-zsh/default.nix
+++ b/nixpkgs/pkgs/shells/zsh/oh-my-zsh/default.nix
@@ -1,70 +1,68 @@
# This script was inspired by the ArchLinux User Repository package:
#
# https://aur.archlinux.org/cgit/aur.git/tree/PKGBUILD?h=oh-my-zsh-git
-{ stdenv, fetchgit }:
+{ stdenv, fetchFromGitHub }:
stdenv.mkDerivation rec {
- version = "2020-07-30";
+ version = "2020-09-12";
pname = "oh-my-zsh";
- rev = "8755c5f101f801738dd249c7685dcf30dd03a7b2";
+ rev = "8a93c89bda7e244ed5d32d5b01bd5f72ab695fbf";
- src = fetchgit { inherit rev;
- url = "https://github.com/ohmyzsh/ohmyzsh";
- sha256 = "0z6bcv91xxfnaj42n7yzlx0wv14f87wws0n5cciy2g4yd3kyzmkq";
+ src = fetchFromGitHub {
+ inherit rev;
+ owner = "ohmyzsh";
+ repo = "ohmyzsh";
+ sha256 = "0azm4xp5y6w41jbl4342rmqc5hdrg0rz7pmwlilps44k8xdvml7p";
};
- pathsToLink = [ "/share/oh-my-zsh" ];
-
- phases = "installPhase";
-
installPhase = ''
- outdir=$out/share/oh-my-zsh
- template=templates/zshrc.zsh-template
+ outdir=$out/share/oh-my-zsh
+ template=templates/zshrc.zsh-template
- mkdir -p $outdir
- cp -r $src/* $outdir
- cd $outdir
+ mkdir -p $outdir
+ cp -r * $outdir
+ cd $outdir
- rm LICENSE.txt
- rm -rf .git*
+ rm LICENSE.txt
+ rm -rf .git*
- chmod -R +w templates
+ chmod -R +w templates
- # Change the path to oh-my-zsh dir and disable auto-updating.
- sed -i -e "s#ZSH=\$HOME/.oh-my-zsh#ZSH=$outdir#" \
- -e 's/\# \(DISABLE_AUTO_UPDATE="true"\)/\1/' \
- $template
+ # Change the path to oh-my-zsh dir and disable auto-updating.
+ sed -i -e "s#ZSH=\$HOME/.oh-my-zsh#ZSH=$outdir#" \
+ -e 's/\# \(DISABLE_AUTO_UPDATE="true"\)/\1/' \
+ $template
- chmod +w oh-my-zsh.sh
+ chmod +w oh-my-zsh.sh
- # Both functions expect oh-my-zsh to be in ~/.oh-my-zsh and try to
- # modify the directory.
- cat >> oh-my-zsh.sh <<- EOF
+ # Both functions expect oh-my-zsh to be in ~/.oh-my-zsh and try to
+ # modify the directory.
+ cat >> oh-my-zsh.sh <<- EOF
- # Undefine functions that don't work on Nix.
- unfunction uninstall_oh_my_zsh
- unfunction upgrade_oh_my_zsh
- EOF
+ # Undefine functions that don't work on Nix.
+ unfunction uninstall_oh_my_zsh
+ unfunction upgrade_oh_my_zsh
+ EOF
- # Look for .zsh_variables, .zsh_aliases, and .zsh_funcs, and source
- # them, if found.
- cat >> $template <<- EOF
+ # Look for .zsh_variables, .zsh_aliases, and .zsh_funcs, and source
+ # them, if found.
+ cat >> $template <<- EOF
- # Load the variables.
- if [ -f ~/.zsh_variables ]; then
- . ~/.zsh_variables
- fi
+ # Load the variables.
+ if [ -f ~/.zsh_variables ]; then
+ . ~/.zsh_variables
+ fi
- # Load the functions.
- if [ -f ~/.zsh_funcs ]; then
- . ~/.zsh_funcs
- fi
+ # Load the functions.
+ if [ -f ~/.zsh_funcs ]; then
+ . ~/.zsh_funcs
+ fi
- # Load the aliases.
- if [ -f ~/.zsh_aliases ]; then
- . ~/.zsh_aliases
- fi
- EOF
+ # Load the aliases.
+ if [ -f ~/.zsh_aliases ]; then
+ . ~/.zsh_aliases
+ fi
+ EOF
'';
meta = with stdenv.lib; {
diff --git a/nixpkgs/pkgs/shells/zsh/oh-my-zsh/update.sh b/nixpkgs/pkgs/shells/zsh/oh-my-zsh/update.sh
index 0146cac8496..738c0810737 100755
--- a/nixpkgs/pkgs/shells/zsh/oh-my-zsh/update.sh
+++ b/nixpkgs/pkgs/shells/zsh/oh-my-zsh/update.sh
@@ -5,7 +5,6 @@ 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/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/ohmyzsh/ohmyzsh/commits/${latestSha} | jq '.commit.author.date' | sed 's|"\(.*\)T.*|\1|g')"
diff --git a/nixpkgs/pkgs/shells/zsh/pure-prompt/default.nix b/nixpkgs/pkgs/shells/zsh/pure-prompt/default.nix
index 5696ed61b97..bfcd3be5e9c 100644
--- a/nixpkgs/pkgs/shells/zsh/pure-prompt/default.nix
+++ b/nixpkgs/pkgs/shells/zsh/pure-prompt/default.nix
@@ -4,13 +4,13 @@ with stdenv.lib;
stdenv.mkDerivation rec {
pname = "pure-prompt";
- version = "1.12.0";
+ version = "1.13.0";
src = fetchFromGitHub {
owner = "sindresorhus";
repo = "pure";
rev = "v${version}";
- sha256 = "1h04z7rxmca75sxdfjgmiyf1b5z2byfn6k4srls211l0wnva2r5y";
+ sha256 = "16q9v4c8lagp4vxm7qhagilqnwf1g4pbds56x5wfj4cwc0x2gclw";
};
installPhase = ''
@@ -22,7 +22,7 @@ stdenv.mkDerivation rec {
meta = {
description = "Pretty, minimal and fast ZSH prompt";
- homepage = https://github.com/sindresorhus/pure;
+ homepage = "https://github.com/sindresorhus/pure";
license = licenses.mit;
platforms = platforms.all;
maintainers = with maintainers; [ pacien pablovsky ];
diff --git a/nixpkgs/pkgs/shells/zsh/spaceship-prompt/default.nix b/nixpkgs/pkgs/shells/zsh/spaceship-prompt/default.nix
index feb82790e87..7db8cdb3349 100644
--- a/nixpkgs/pkgs/shells/zsh/spaceship-prompt/default.nix
+++ b/nixpkgs/pkgs/shells/zsh/spaceship-prompt/default.nix
@@ -21,6 +21,8 @@ stdenv.mkDerivation rec {
install -D -m644 spaceship.zsh "$out/lib/spaceship-prompt/spaceship.zsh"
install -d "$out/share/zsh/themes/"
ln -s "$out/lib/spaceship-prompt/spaceship.zsh" "$out/share/zsh/themes/spaceship.zsh-theme"
+ install -d "$out/share/zsh/site-functions/"
+ ln -s "$out/lib/spaceship-prompt/spaceship.zsh" "$out/share/zsh/site-functions/prompt_spaceship_setup"
'';
meta = with stdenv.lib; {
diff --git a/nixpkgs/pkgs/shells/zsh/zsh-history/default.nix b/nixpkgs/pkgs/shells/zsh/zsh-history/default.nix
index 778e19f1bd4..3d48467a246 100644
--- a/nixpkgs/pkgs/shells/zsh/zsh-history/default.nix
+++ b/nixpkgs/pkgs/shells/zsh/zsh-history/default.nix
@@ -14,7 +14,8 @@ buildGoModule rec {
nativeBuildInputs = [ installShellFiles ];
vendorSha256 = "13rc1afds5xg30faqz35haha4kxg73b5nvjirbrkc6kna0vhb54z";
- goPackagePath = "github.com/b4b4r07/history";
+
+ doCheck = false;
postInstall = ''
install -d $out/share
diff --git a/nixpkgs/pkgs/shells/zsh/zsh-nix-shell/default.nix b/nixpkgs/pkgs/shells/zsh/zsh-nix-shell/default.nix
index c424cc33483..6db78f1c0f5 100644
--- a/nixpkgs/pkgs/shells/zsh/zsh-nix-shell/default.nix
+++ b/nixpkgs/pkgs/shells/zsh/zsh-nix-shell/default.nix
@@ -4,14 +4,14 @@
# `programs.zsh.interactiveShellInit = "source ${pkgs.zsh-nix-shell}/share/zsh-nix-shell/nix-shell.plugin.zsh";`
stdenv.mkDerivation rec {
- pname = "zsh-nix-shell-unstable";
- version = "2019-12-20";
+ pname = "zsh-nix-shell";
+ version = "0.1.0";
src = fetchFromGitHub {
owner = "chisui";
repo = "zsh-nix-shell";
- rev = "a65382a353eaee5a98f068c330947c032a1263bb";
- sha256 = "0l41ac5b7p8yyjvpfp438kw7zl9dblrpd7icjg1v3ig3xy87zv0n";
+ rev = "v${version}";
+ sha256 = "0snhch9hfy83d4amkyxx33izvkhbwmindy0zjjk28hih1a9l2jmx";
};
installPhase = ''
diff --git a/nixpkgs/pkgs/shells/zsh/zsh-powerlevel10k/default.nix b/nixpkgs/pkgs/shells/zsh/zsh-powerlevel10k/default.nix
index 7b6684092ba..5d81ceaba1b 100644
--- a/nixpkgs/pkgs/shells/zsh/zsh-powerlevel10k/default.nix
+++ b/nixpkgs/pkgs/shells/zsh/zsh-powerlevel10k/default.nix
@@ -5,13 +5,13 @@
stdenv.mkDerivation rec {
pname = "powerlevel10k";
- version = "1.11.0";
+ version = "1.12.0";
src = fetchFromGitHub {
owner = "romkatv";
repo = "powerlevel10k";
rev = "v${version}";
- sha256 = "1z6abvp642n40biya88n86ff1wiry00dlwawqwxp7q5ds55jhbv1";
+ sha256 = "08zg4in70h3kray6lazszzy26gvil9w2cr6xmkbgjsv3k6w3k0jg";
};
patches = [