diff options
author | Martin Weinelt <hexa@darmstadt.ccc.de> | 2022-12-03 01:28:01 +0100 |
---|---|---|
committer | Martin Weinelt <hexa@darmstadt.ccc.de> | 2022-12-03 01:28:01 +0100 |
commit | e3da5a807ba3164cad64fae11c1677572fc19502 (patch) | |
tree | 2ad14ffb967f59794dcd55bf80a7fcd35fa249e5 /pkgs/shells | |
parent | 1d0b9702fccd3cad33384c73f5dc8a37608c54e1 (diff) | |
parent | a83c4dd1939293da6ba883d98764c9dc5f14ef74 (diff) | |
download | nixpkgs-e3da5a807ba3164cad64fae11c1677572fc19502.tar nixpkgs-e3da5a807ba3164cad64fae11c1677572fc19502.tar.gz nixpkgs-e3da5a807ba3164cad64fae11c1677572fc19502.tar.bz2 nixpkgs-e3da5a807ba3164cad64fae11c1677572fc19502.tar.lz nixpkgs-e3da5a807ba3164cad64fae11c1677572fc19502.tar.xz nixpkgs-e3da5a807ba3164cad64fae11c1677572fc19502.tar.zst nixpkgs-e3da5a807ba3164cad64fae11c1677572fc19502.zip |
Merge remote-tracking branch 'origin/staging-next' into staging
Diffstat (limited to 'pkgs/shells')
-rw-r--r-- | pkgs/shells/carapace/default.nix | 6 | ||||
-rw-r--r-- | pkgs/shells/nushell/default.nix | 6 | ||||
-rw-r--r-- | pkgs/shells/zsh/default.nix | 10 | ||||
-rw-r--r-- | pkgs/shells/zsh/zsh-git-prompt/default.nix | 4 |
4 files changed, 18 insertions, 8 deletions
diff --git a/pkgs/shells/carapace/default.nix b/pkgs/shells/carapace/default.nix index 896e78f2096..161fd08fb46 100644 --- a/pkgs/shells/carapace/default.nix +++ b/pkgs/shells/carapace/default.nix @@ -2,16 +2,16 @@ buildGoModule rec { pname = "carapace"; - version = "0.18.0"; + version = "0.18.1"; src = fetchFromGitHub { owner = "rsteube"; repo = "${pname}-bin"; rev = "v${version}"; - sha256 = "sha256-dZ1TeBIP8560VHdDBR6JRbJaZmpvmKKUqzZ7ZYGsEXk="; + sha256 = "sha256-w0olExMi8Qlk06r0SRYoeZjbTh79/ggH/JwfVFgE31Y="; }; - vendorSha256 = "sha256-6+hooVadDN/unf5oMyVzC3pjXwVLzsYBt7vzKuYUgXU="; + vendorSha256 = "sha256-huHbAS0sh/wqEMabnUNsdNMo4M3EXa/PNEA8QgMRAC4="; subPackages = [ "./cmd/carapace" ]; diff --git a/pkgs/shells/nushell/default.nix b/pkgs/shells/nushell/default.nix index 4da72442edc..432cbfe9ac9 100644 --- a/pkgs/shells/nushell/default.nix +++ b/pkgs/shells/nushell/default.nix @@ -24,16 +24,16 @@ rustPlatform.buildRustPackage rec { pname = "nushell"; - version = "0.71.0"; + version = "0.72.0"; src = fetchFromGitHub { owner = pname; repo = pname; rev = version; - sha256 = "sha256-81vyW5GovBnH3tLr77V2uLIkigymF+nOZ0F/J4eEu9Q="; + sha256 = "sha256-CWFG3ltSWwUPz+cVXUL0RaDxmm1A3Ie0BUBFFZfR9Mc="; }; - cargoSha256 = "sha256-A7MvyAQpd05uSkTw2fgQAN45dqku1RWYag5LIkS6GnY="; + cargoSha256 = "sha256-VgE14440BumaL/wZz1ONjIK1nsJWaPlvy7M0R+ojb9A="; # enable pkg-config feature of zstd cargoPatches = [ ./zstd-pkg-config.patch ]; diff --git a/pkgs/shells/zsh/default.nix b/pkgs/shells/zsh/default.nix index 7e177a1744c..782c2fb2bea 100644 --- a/pkgs/shells/zsh/default.nix +++ b/pkgs/shells/zsh/default.nix @@ -44,6 +44,16 @@ stdenv.mkDerivation { "--enable-pcre" "--enable-zprofile=${placeholder "out"}/etc/zprofile" "--disable-site-fndir" + ] ++ lib.optional (stdenv.hostPlatform != stdenv.buildPlatform && !stdenv.hostPlatform.isStatic) [ + # Also see: https://github.com/buildroot/buildroot/commit/2f32e668aa880c2d4a2cce6c789b7ca7ed6221ba + "zsh_cv_shared_environ=yes" + "zsh_cv_shared_tgetent=yes" + "zsh_cv_shared_tigetstr=yes" + "zsh_cv_sys_dynamic_clash_ok=yes" + "zsh_cv_sys_dynamic_rtld_global=yes" + "zsh_cv_sys_dynamic_execsyms=yes" + "zsh_cv_sys_dynamic_strip_exe=yes" + "zsh_cv_sys_dynamic_strip_lib=yes" ]; # the zsh/zpty module is not available on hydra diff --git a/pkgs/shells/zsh/zsh-git-prompt/default.nix b/pkgs/shells/zsh/zsh-git-prompt/default.nix index 6af5fe7cc66..f9e5633476a 100644 --- a/pkgs/shells/zsh/zsh-git-prompt/default.nix +++ b/pkgs/shells/zsh/zsh-git-prompt/default.nix @@ -25,7 +25,7 @@ # installed. # { fetchFromGitHub -, python2 +, python3 , git , lib , haskellPackages @@ -45,7 +45,7 @@ haskellPackages.callPackage prePatch = '' substituteInPlace zshrc.sh \ --replace ':-"python"' ':-"haskell"' \ - --replace 'python ' '${python2.interpreter} ' \ + --replace 'python ' '${python3.interpreter} ' \ --replace 'git ' '${git}/bin/git ' ''; preCompileBuildDriver = "cd src"; |