mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-23 15:33:13 +00:00
* Prevent a retained dependency on coreutils from stdenv.
svn path=/nixpkgs/trunk/; revision=1435
This commit is contained in:
parent
d97dd79895
commit
6dc5ad8a2d
3
pkgs/tools/text/diffutils/builder.sh
Normal file
3
pkgs/tools/text/diffutils/builder.sh
Normal file
@ -0,0 +1,3 @@
|
||||
. $stdenv/setup
|
||||
if test -n "$coreutils"; then PATH=$coreutils/bin:$PATH; fi
|
||||
genericBuild
|
@ -1,9 +1,12 @@
|
||||
{stdenv, fetchurl}:
|
||||
{stdenv, fetchurl, coreutils ? null}:
|
||||
|
||||
stdenv.mkDerivation {
|
||||
name = "diffutils-2.8.1";
|
||||
builder = ./builder.sh;
|
||||
src = fetchurl {
|
||||
url = ftp://ftp.nluug.nl/pub/gnu/diffutils/diffutils-2.8.1.tar.gz;
|
||||
md5 = "71f9c5ae19b60608f6c7f162da86a428";
|
||||
};
|
||||
/* If no explicit coreutils is given, use the one from stdenv. */
|
||||
inherit coreutils;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user