summary refs log tree commit diff
path: root/pkgs/development/tools/build-managers/gnumake/default.nix
blob: 66de0c9548350b092ab54370fa9ef3161016eee2 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
{stdenv, fetchurl}:

stdenv.mkDerivation {
  name = "gnumake-3.81";
  src = fetchurl {
    url = http://ftp.gnu.org/pub/gnu/make/make-3.81.tar.bz2;
    md5 = "354853e0b2da90c527e35aabb8d6f1e6";
  };
  
  patches = [
    # Provide nested log output for subsequent pretty-printing by
    # nix-log2xml.
    ./log.patch

    # Purity: don't look for library dependencies (of the form
    # `-lfoo') in /lib and /usr/lib.  It's a stupid feature anyway.
    # Likewise, when searching for included Makefiles, don't look in
    # /usr/include and friends.
    ./impure-dirs.patch
  ];
}