diff options
author | Vladimír Čunát <vcunat@gmail.com> | 2015-05-03 13:37:15 +0200 |
---|---|---|
committer | Vladimír Čunát <vcunat@gmail.com> | 2015-05-05 11:56:30 +0200 |
commit | cefdc20c00ffc4210eb84cb8aeaa83c3ccca3c29 (patch) | |
tree | 411ab648a4f66427f6d3a80cacbde73f5782cdd3 /pkgs/tools/text/gawk | |
parent | 2be435422c06849c092a3660c8d3ec430753f425 (diff) |
gawk: disable doCheck again, add meta.platforms
It didn't work when chrooted.
Diffstat (limited to 'pkgs/tools/text/gawk')
-rw-r--r-- | pkgs/tools/text/gawk/default.nix | 11 |
1 files 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 = [ ]; }; } + |