From cefdc20c00ffc4210eb84cb8aeaa83c3ccca3c29 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vladim=C3=ADr=20=C4=8Cun=C3=A1t?= Date: Sun, 3 May 2015 13:37:15 +0200 Subject: [PATCH] gawk: disable doCheck again, add meta.platforms It didn't work when chrooted. --- pkgs/tools/text/gawk/default.nix | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/pkgs/tools/text/gawk/default.nix b/pkgs/tools/text/gawk/default.nix index 234cd1655dc5..e09012f94900 100644 --- a/pkgs/tools/text/gawk/default.nix +++ b/pkgs/tools/text/gawk/default.nix @@ -12,7 +12,7 @@ stdenv.mkDerivation rec { }; # When we do build separate interactive version, it makes sense to always include docs. - outputs = stdenv.lib.optionals (!interactive) [ "out" "doc" ]; #ToDo + outputs = [ "out" ] ++ stdenv.lib.optional (!interactive) "doc"; #ToDo # Currently broken due to locale tests failing #doCheck = !stdenv.isCygwin; # XXX: `test-dup2' segfaults on Cygwin 6.1 @@ -23,11 +23,9 @@ stdenv.mkDerivation rec { configureFlags = [ "--with-libsigsegv-prefix=${libsigsegv}" ] ++ [(if interactive then "--with-readline=${readline}" else "--without-readline")]; - doCheck = !stdenv.isCygwin; # XXX: `test-dup2' segfaults on Cygwin 6.1 - postInstall = "rm $out/bin/gawk-*"; - meta = { + meta = with stdenv.lib; { homepage = http://www.gnu.org/software/gawk/; description = "GNU implementation of the Awk programming language"; @@ -45,8 +43,11 @@ stdenv.mkDerivation rec { lines of code. ''; - license = stdenv.lib.licenses.gpl3Plus; + license = licenses.gpl3Plus; + + platforms = platforms.unix; maintainers = [ ]; }; } +