From 6aa7ab644a3dc019135c72ed0ad66724a18350b9 Mon Sep 17 00:00:00 2001 From: Armijn Hemel Date: Tue, 27 Dec 2005 02:44:56 +0000 Subject: [PATCH] static version of gnused for initial stdenv... svn path=/nixpkgs/trunk/; revision=4442 --- pkgs/tools/text/gnused-diet/default.nix | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 pkgs/tools/text/gnused-diet/default.nix diff --git a/pkgs/tools/text/gnused-diet/default.nix b/pkgs/tools/text/gnused-diet/default.nix new file mode 100644 index 000000000000..63c070a06a1a --- /dev/null +++ b/pkgs/tools/text/gnused-diet/default.nix @@ -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"; +}