Skip to content

Commit

Permalink
Don't build some packages on some platforms
Browse files Browse the repository at this point in the history
  • Loading branch information
edolstra committed Nov 4, 2013
1 parent 0296def commit 0108775
Show file tree
Hide file tree
Showing 9 changed files with 16 additions and 11 deletions.
Expand Up @@ -77,6 +77,6 @@ stdenv.mkDerivation rec {
description = "A version control system intended to be a compelling replacement for CVS in the open source community";
homepage = http://subversion.apache.org/;
maintainers = with stdenv.lib.maintainers; [ eelco lovek323 ];
platforms = stdenv.lib.platforms.all;
platforms = stdenv.lib.platforms.linux ++ stdenv.lib.platforms.darwin;
};
}
3 changes: 2 additions & 1 deletion pkgs/development/libraries/aterm/2.5.nix
Expand Up @@ -25,6 +25,7 @@ stdenv.mkDerivation {
homepage = http://www.cwi.nl/htbin/sen1/twiki/bin/view/SEN1/ATerm;
license = "LGPL";
description = "Library for manipulation of term data structures in C";
platforms = stdenv.lib.platforms.all;
platforms = stdenv.lib.platforms.linux ++ stdenv.lib.platforms.darwin;
maintainers = stdenv.lib.maintainers.eelco;
};
}
10 changes: 7 additions & 3 deletions pkgs/development/libraries/aterm/2.8.nix
@@ -1,9 +1,9 @@
{stdenv, fetchurl}:
{ stdenv, fetchurl }:

let
isMingw = stdenv ? cross && stdenv.cross.config == "i686-pc-mingw32" ;
in
stdenv.mkDerivation ( {
stdenv.mkDerivation {
name = "aterm-2.8";

src = fetchurl {
Expand All @@ -23,9 +23,13 @@ stdenv.mkDerivation ( {
# feel too serious to just ignore.
doCheck = true;

dontStrip = isMingw;

meta = {
homepage = http://www.cwi.nl/htbin/sen1/twiki/bin/view/SEN1/ATerm;
license = "LGPL";
description = "Library for manipulation of term data structures in C";
platforms = stdenv.lib.platforms.linux ++ stdenv.lib.platforms.darwin;
maintainers = stdenv.lib.maintainers.eelco;
};
} // ( if isMingw then { dontStrip = true; } else {}) )
}
2 changes: 1 addition & 1 deletion pkgs/servers/http/apache-httpd/2.2.nix
Expand Up @@ -57,7 +57,7 @@ stdenv.mkDerivation rec {
description = "Apache HTTPD, the world's most popular web server";
homepage = http://httpd.apache.org/;
license = stdenv.lib.licenses.asl20;
platforms = stdenv.lib.platforms.unix;
platforms = stdenv.lib.platforms.linux ++ stdenv.lib.platforms.darwin;
maintainers = with stdenv.lib.maintainers; [ simons lovek323 ];
};
}
2 changes: 1 addition & 1 deletion pkgs/servers/http/apache-httpd/2.4.nix
Expand Up @@ -62,7 +62,7 @@ stdenv.mkDerivation rec {
description = "Apache HTTPD, the world's most popular web server";
homepage = http://httpd.apache.org/;
license = licenses.asl20;
platforms = stdenv.lib.platforms.unix;
platforms = stdenv.lib.platforms.linux ++ stdenv.lib.platforms.darwin;
maintainers = with maintainers; [ lovek323 simons ];
};
}
2 changes: 1 addition & 1 deletion pkgs/servers/monitoring/zabbix/2.0.nix
Expand Up @@ -81,7 +81,7 @@ in
homepage = http://www.zabbix.com/;
license = "GPL";
maintainers = [ stdenv.lib.maintainers.eelco ];
platforms = stdenv.lib.platforms.all;
platforms = stdenv.lib.platforms.linux ++ stdenv.lib.platforms.darwin;
};
};

Expand Down
2 changes: 1 addition & 1 deletion pkgs/servers/monitoring/zabbix/default.nix
Expand Up @@ -62,7 +62,7 @@ in
homepage = http://www.zabbix.com/;
license = "GPL";
maintainers = [ stdenv.lib.maintainers.eelco ];
platforms = stdenv.lib.platforms.all;
platforms = stdenv.lib.platforms.linux ++ stdenv.lib.platforms.darwin;
};
};

Expand Down
2 changes: 1 addition & 1 deletion pkgs/tools/security/fail2ban/default.nix
Expand Up @@ -48,6 +48,6 @@ pythonPackages.buildPythonPackage {
description = "A program that scans log files for repeated failing login attempts and bans IP addresses";
license = licenses.gpl2Plus;
maintainers = with maintainers; [ eelco lovek323 ];
platforms = platforms.unix;
platforms = platforms.linux ++ platforms.darwin;
};
}
2 changes: 1 addition & 1 deletion pkgs/tools/text/wdiff/default.nix
Expand Up @@ -18,6 +18,6 @@ stdenv.mkDerivation rec {
description = "GNU wdiff, comparing files on a word by word basis";
license = "GPLv3+";
maintainers = [ stdenv.lib.maintainers.eelco ];
platforms = stdenv.lib.platforms.all;
platforms = stdenv.lib.platforms.linux;
};
}

0 comments on commit 0108775

Please sign in to comment.