mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-02-12 07:04:25 +00:00
static diffutils for initial stdenv
svn path=/nixpkgs/trunk/; revision=4445
This commit is contained in:
parent
abcfd1bce5
commit
796636040a
3
pkgs/tools/text/diffutils-diet/builder.sh
Normal file
3
pkgs/tools/text/diffutils-diet/builder.sh
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
source $stdenv/setup
|
||||||
|
if test -n "$coreutils"; then PATH=$coreutils/bin:$PATH; fi
|
||||||
|
genericBuild
|
13
pkgs/tools/text/diffutils-diet/default.nix
Normal file
13
pkgs/tools/text/diffutils-diet/default.nix
Normal file
@ -0,0 +1,13 @@
|
|||||||
|
{stdenv, fetchurl, coreutils ? null, dietgcc}:
|
||||||
|
|
||||||
|
stdenv.mkDerivation {
|
||||||
|
name = "diffutils-2.8.1";
|
||||||
|
builder = ./builder.sh;
|
||||||
|
src = fetchurl {
|
||||||
|
url = http://nix.cs.uu.nl/dist/tarballs/diffutils-2.8.1.tar.gz;
|
||||||
|
md5 = "71f9c5ae19b60608f6c7f162da86a428";
|
||||||
|
};
|
||||||
|
/* If no explicit coreutils is given, use the one from stdenv. */
|
||||||
|
inherit coreutils;
|
||||||
|
NIX_GCC=dietgcc;
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user