static version of gnused for initial stdenv...
svn path=/nixpkgs/trunk/; revision=4442
This commit is contained in:
parent
40c9f1a764
commit
6aa7ab644a
12
pkgs/tools/text/gnused-diet/default.nix
Normal file
12
pkgs/tools/text/gnused-diet/default.nix
Normal file
|
@ -0,0 +1,12 @@
|
|||
{stdenv, fetchurl, dietgcc}:
|
||||
|
||||
stdenv.mkDerivation {
|
||||
name = "gnused-4.1.4";
|
||||
src = fetchurl {
|
||||
url = http://ftp.gnu.org/gnu/sed/sed-4.1.4.tar.gz;
|
||||
md5 = "2a62ceadcb571d2dac006f81df5ddb48";
|
||||
};
|
||||
NIX_GCC=dietgcc;
|
||||
NIX_GLIBC_FLAGS_SET=1;
|
||||
NIX_CFLAGS_COMPILE="-D_BSD_SOURCE=1";
|
||||
}
|
Loading…
Reference in a new issue