summary refs log tree commit diff
path: root/pkgs/shells/bash/default.nix
blob: a8dd2e3dd63eb238f68a10edf457a5bc5ab1e035 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
{stdenv, fetchurl}:

stdenv.mkDerivation ({
  name = "bash-3.1";
  builder = ./builder.sh;
  src = fetchurl {
    url = http://nix.cs.uu.nl/dist/tarballs/bash-3.1.tar.gz;
    md5 = "ef5304c4b22aaa5088972c792ed45d72";
  };

  meta = {
    description = "GNU Bourne-Again Shell, the de facto standard shell on Linux";
  };
}

# libcompat.a is needed on dietlibc for stpcpy().
// (if stdenv ? isDietLibC then {
  NIX_LDFLAGS = "-lcompat";
  patches = [./winsize.patch];
} else {})

)