nixpkgs/pkgs/shells/bash/default.nix
Eelco Dolstra 4f03dec496 * Patch for a critical bug in bash.
svn path=/nixpkgs/trunk/; revision=6848
2006-10-25 12:38:57 +00:00

26 lines
545 B
Nix

{stdenv, fetchurl, bison}:
stdenv.mkDerivation {
name = "bash-3.2";
builder = ./builder.sh;
src = fetchurl {
url = http://ftp.gnu.org/pub/gnu/bash/bash-3.2.tar.gz;
md5 = "00bfa16d58e034e3c2aa27f390390d30";
};
patches = [
# Fix a nasty bug in bash-3.2.
./bash32-001.patch
# For dietlibc builds.
./winsize.patch
];
# !!! only needed for bash-3.2 (because of bash32-001.patch)
buildInputs = [bison];
meta = {
description = "GNU Bourne-Again Shell, the de facto standard shell on Linux";
};
}