about summary refs log tree commit diff
path: root/pkgs/shells/bash
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2009-03-23 17:33:37 +0000
committerLudovic Courtès <ludo@gnu.org>2009-03-23 17:33:37 +0000
commit73b66bedd96728ee582c74c9b9fabd3132c9e6fd (patch)
treeefbc830d56e4f2b34d5f59ab6937df643b0b9c2e /pkgs/shells/bash
parenta056260098fe4640db07a3215fab38556c0cc440 (diff)
downloadnixlib-73b66bedd96728ee582c74c9b9fabd3132c9e6fd.tar
nixlib-73b66bedd96728ee582c74c9b9fabd3132c9e6fd.tar.gz
nixlib-73b66bedd96728ee582c74c9b9fabd3132c9e6fd.tar.bz2
nixlib-73b66bedd96728ee582c74c9b9fabd3132c9e6fd.tar.lz
nixlib-73b66bedd96728ee582c74c9b9fabd3132c9e6fd.tar.xz
nixlib-73b66bedd96728ee582c74c9b9fabd3132c9e6fd.tar.zst
nixlib-73b66bedd96728ee582c74c9b9fabd3132c9e6fd.zip
Remove redundant Bash 4.0 expression.
svn path=/nixpkgs/branches/stdenv-updates/; revision=14663
Diffstat (limited to 'pkgs/shells/bash')
-rw-r--r--pkgs/shells/bash/4.0.nix44
1 files changed, 0 insertions, 44 deletions
diff --git a/pkgs/shells/bash/4.0.nix b/pkgs/shells/bash/4.0.nix
deleted file mode 100644
index 0554039f279c..000000000000
--- a/pkgs/shells/bash/4.0.nix
+++ /dev/null
@@ -1,44 +0,0 @@
-{stdenv, fetchurl, bison, interactive ? false, ncurses ? null, texinfo ? null, readline ? null}:
-
-assert interactive -> ncurses != null;
-assert interactive -> readline != null;
-
-stdenv.mkDerivation {
-  name = "bash-4.0";
-
-  src = fetchurl {
-    url = mirror://gnu/bash/bash-4.0.tar.gz;
-    sha256 = "9793d394f640a95030c77d5ac989724afe196921956db741bcaf141801c50518";
-  };
-
-  NIX_CFLAGS_COMPILE = ''
-    -DSYS_BASHRC="/etc/bashrc"
-    -DSYS_BASH_LOGOUT="/etc/bash_logout"
-    -DDEFAULT_PATH_VALUE="/no-such-path"
-    -DSTANDARD_UTILS_PATH="/no-such-path"
-    -DNON_INTERACTIVE_LOGIN_SHELLS
-    -DSSH_SOURCE_BASHRC
-  '';
-
-  postInstall = "ln -s bash $out/bin/sh";
-
-  patches = [
-    # For dietlibc builds.
-    ./winsize.patch
-  ];
-
-  configureFlags = if interactive then "--enable-readline --with-installed-readline" else "";
-
-  # !!! Bison is only needed for bash-3.2 (because of bash32-001.patch)
-  buildInputs = [bison]
-    ++ stdenv.lib.optional (texinfo != null) texinfo
-    ++ stdenv.lib.optional interactive readline
-    ++ stdenv.lib.optional interactive ncurses;
-
-  meta = {
-    homepage = http://www.gnu.org/software/bash/;
-    description =
-      "GNU Bourne-Again Shell, the de facto standard shell on Linux" +
-        (if interactive then " (for interactive use)" else "");
-  };
-}