From e70f61f5a19b00337082ab28a5013e0b440bda92 Mon Sep 17 00:00:00 2001 From: Shea Levy Date: Thu, 1 Mar 2018 14:37:45 -0500 Subject: [PATCH] Add top-level aliases for the runtime shell and its package. This is like stdenv.shell{,Package}, but for the runtime system. The majority of uses of stdenv.shell probably want this instead. --- pkgs/top-level/all-packages.nix | 3 +++ 1 file changed, 3 insertions(+) diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index ef629d09292..2db002876c5 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -5646,6 +5646,9 @@ with pkgs; ### SHELLS + runtimeShell = "${runtimeShellPackage}/bin/bash"; + runtimeShellPackage = bash; + bash = lowPrio (callPackage ../shells/bash/4.4.nix { texinfo = null; interactive = stdenv.isCygwin; # patch for cygwin requires readline support