mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-18 19:54:05 +00:00
544cb9cb83
svn path=/nixpkgs/trunk/; revision=9201
16 lines
402 B
Nix
16 lines
402 B
Nix
{stdenv, fetchurl}:
|
|
|
|
stdenv.mkDerivation {
|
|
name = "gnupatch-2.5.4";
|
|
src = fetchurl {
|
|
url = mirror://gnu/patch/patch-2.5.4.tar.gz;
|
|
md5 = "ee5ae84d115f051d87fcaaef3b4ae782";
|
|
};
|
|
|
|
# Hack around ancient configure script: doesn't build on many newer
|
|
# platforms unless a platform is specified.
|
|
configureFlags = "dummy";
|
|
|
|
patches = if stdenv.isDarwin then [./setmode.patch] else [];
|
|
}
|