From df65a79bb3dfa94209f66f668ac5a2ab46af779b Mon Sep 17 00:00:00 2001 From: Michael Raskin <7c6f434c@mail.ru> Date: Sun, 30 Dec 2012 15:29:02 +0400 Subject: [PATCH] Export shell packages from stdenvLinux Now that we have a way to alter /bin/sh in chroots on non-NixOS Linux platforms, it may be useful to have access to stdenv.shell package and to static bash contained in bootstrap tools. So make them accessible via stdenv attribute set. --- pkgs/stdenv/linux/default.nix | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pkgs/stdenv/linux/default.nix b/pkgs/stdenv/linux/default.nix index 38d6d5f5ee1..e4a8bd77076 100644 --- a/pkgs/stdenv/linux/default.nix +++ b/pkgs/stdenv/linux/default.nix @@ -284,7 +284,8 @@ rec { extraAttrs = { inherit (stdenvLinuxBoot3Pkgs) glibc; - inherit platform; + inherit platform bootstrapTools; + shellPackage = stdenvLinuxBoot4Pkgs.bash; }; overrides = pkgs: {