summaryrefslogtreecommitdiffstats
path: root/pkgs/shells
diff options
context:
space:
mode:
authorzowoq <59103226+zowoq@users.noreply.github.com>2021-02-19 10:47:46 +1000
committerzowoq <59103226+zowoq@users.noreply.github.com>2021-02-19 10:47:46 +1000
commit3dab05726482e810d205cd140d8c3b7b98b357c4 (patch)
tree07727cf2537a08954c66d6773a39534e39eff3ec /pkgs/shells
parentdc7769bf7e94348158b626f163f03387b25f9715 (diff)
parentdb70268ff7ee17588a3a8ddc6bc4a3ad2af1e100 (diff)
Merge staging-next into staging
Diffstat (limited to 'pkgs/shells')
-rw-r--r--pkgs/shells/fish/default.nix6
-rw-r--r--pkgs/shells/nushell/default.nix6
2 files changed, 8 insertions, 4 deletions
diff --git a/pkgs/shells/fish/default.nix b/pkgs/shells/fish/default.nix
index 7e38d9dec3a1..e36e32d043f8 100644
--- a/pkgs/shells/fish/default.nix
+++ b/pkgs/shells/fish/default.nix
@@ -56,8 +56,12 @@ let
# source both, but source the more global configuration files earlier
# than the more local ones, so that more local configurations inherit
# from but override the more global locations.
+ #
+ # Special care needs to be taken, when fish is called from an FHS user env
+ # or similar setup, because this configuration file will then be relocated
+ # to /etc/fish/config.fish, so we test for this case to avoid nontermination.
- if test -f /etc/fish/config.fish
+ if test -f /etc/fish/config.fish && test /etc/fish/config.fish != (status filename)
source /etc/fish/config.fish
end
diff --git a/pkgs/shells/nushell/default.nix b/pkgs/shells/nushell/default.nix
index a0a070b92660..804fea0102f0 100644
--- a/pkgs/shells/nushell/default.nix
+++ b/pkgs/shells/nushell/default.nix
@@ -15,16 +15,16 @@
rustPlatform.buildRustPackage rec {
pname = "nushell";
- version = "0.26.0";
+ version = "0.27.0";
src = fetchFromGitHub {
owner = pname;
repo = pname;
rev = version;
- sha256 = "sha256-v0u04xY4iEbOTeaPKmbHImNTzEgdqf1wZWV0hKOV6Vg=";
+ sha256 = "sha256-OesIOL5jn5a3yvOSayMXmZQK9XpYxspOvDvZ6OY5JD4=";
};
- cargoSha256 = "sha256-0Ncjy6vZqiMNB+aRzf255tsIdrnpG0a4Xoid+mAAvUk=";
+ cargoSha256 = "sha256-YFtpg5IXhWJmBtX79MIBme4SKOoq+13UakvAJnTzJFo=";
nativeBuildInputs = [ pkg-config ]
++ lib.optionals (withStableFeatures && stdenv.isLinux) [ python3 ];