From 5747c2194bd0692a52e8ce2861ba8d963c418f5e Mon Sep 17 00:00:00 2001 From: Pjotr Prins Date: Tue, 10 Nov 2009 14:25:26 +0000 Subject: [PATCH] rxp requires CFLAG -D_GNU_SOURCE svn path=/nixpkgs/trunk/; revision=18318 --- pkgs/tools/text/xml/rxp/default.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pkgs/tools/text/xml/rxp/default.nix b/pkgs/tools/text/xml/rxp/default.nix index c54ec9f70281..3ec035c105e2 100644 --- a/pkgs/tools/text/xml/rxp/default.nix +++ b/pkgs/tools/text/xml/rxp/default.nix @@ -6,6 +6,8 @@ stdenv.mkDerivation { url = http://ftp.de.debian.org/debian/pool/main/r/rxp/rxp_1.2.3.orig.tar.gz; sha256 = "1r4khvmnl5231y37ji8f3mikxy0dhdz155wi3qihfi27mc1yv534"; }; + NIX_CFLAGS_COMPILE = "-D_GNU_SOURCE"; + installPhase = '' ensureDir $out/bin cp rxp $out/bin