summary refs log tree commit diff
path: root/pkgs/tools/misc/findutils/4.2.27.nix
blob: 591134d692d151ea1b385a078f1089a1777d93de (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
{stdenv, fetchurl, coreutils}:

stdenv.mkDerivation {
  name = "findutils-4.2.27";
  src = fetchurl {
    url = http://nixos.org/tarballs/findutils-4.2.27.tar.gz;
    md5 = "f1e0ddf09f28f8102ff3b90f3b5bc920";
  };
  buildInputs = [coreutils];
  patches = [./findutils-path.patch]
    # Note: the dietlibc is just to get findutils to compile.  The
    # locate command probably won't work though.
    ++ (if stdenv ? isDietLibC then [./dietlibc-hack.patch] else []);
}