From 2258b21e4b40d42cbe36fd4b5946c19861a9ff95 Mon Sep 17 00:00:00 2001 From: Tuomas Tynkkynen Date: Tue, 2 Aug 2016 19:06:29 +0300 Subject: [PATCH] treewide: Add lots of platforms to packages with no meta Build-tested on x86_64 Linux and on Darwin. --- pkgs/applications/audio/rubyripper/default.nix | 4 ++++ pkgs/applications/graphics/batik/default.nix | 4 ++++ pkgs/applications/misc/xautoclick/default.nix | 4 ++++ pkgs/applications/misc/xmove/default.nix | 4 ++++ pkgs/applications/misc/xpdf/libxpdf.nix | 3 +++ .../networking/browsers/mozilla-plugins/gmtk/default.nix | 4 ++++ pkgs/applications/networking/mumble/overlay.nix | 4 ++++ pkgs/applications/version-management/gitlab-shell/default.nix | 3 +++ .../version-management/gitlab-workhorse/default.nix | 4 ++++ pkgs/applications/window-managers/taffybar/default.nix | 4 ++++ pkgs/build-support/libredirect/default.nix | 4 ++++ pkgs/data/fonts/dejavu-fonts/default.nix | 4 ++++ pkgs/data/fonts/mph-2b-damase/default.nix | 4 ++++ pkgs/data/fonts/ttf-bitstream-vera/default.nix | 4 ++++ pkgs/data/sgml+xml/schemas/sgml-dtd/docbook/3.1.nix | 4 ++++ pkgs/data/sgml+xml/schemas/sgml-dtd/docbook/4.1.nix | 4 ++++ pkgs/data/sgml+xml/schemas/xml-dtd/docbook-ebnf/default.nix | 4 ++++ pkgs/development/beam-modules/hex-registry-snapshot.nix | 4 ++++ pkgs/development/compilers/jikes/default.nix | 4 ++++ .../compilers/meta-environment/meta-build-env/default.nix | 4 ++++ pkgs/development/compilers/ocaml/3.08.0.nix | 4 ++++ pkgs/development/interpreters/spidermonkey/1.8.0-rc1.nix | 4 ++++ pkgs/development/libraries/beecrypt/default.nix | 4 ++++ pkgs/development/libraries/breakpad/default.nix | 4 ++++ pkgs/development/libraries/dclib/default.nix | 4 ++++ pkgs/development/libraries/giflib/libungif.nix | 4 ++++ pkgs/development/libraries/gtk-sharp/2.0.nix | 4 ++++ pkgs/development/libraries/gtk-sharp/3.0.nix | 4 ++++ pkgs/development/libraries/gtkmozembed-sharp/default.nix | 4 ++++ pkgs/development/libraries/gtkspell/default.nix | 4 ++++ pkgs/development/libraries/id3lib/default.nix | 4 ++++ pkgs/development/libraries/ilbc/default.nix | 3 +++ pkgs/development/libraries/imlib/default.nix | 4 ++++ pkgs/development/libraries/java/aterm/default.nix | 4 ++++ pkgs/development/libraries/java/dbus-java/default.nix | 4 ++++ pkgs/development/libraries/java/gwt-dragdrop/default.nix | 4 ++++ pkgs/development/libraries/java/gwt-widgets/default.nix | 4 ++++ pkgs/development/libraries/java/hsqldb/default.nix | 3 +++ pkgs/development/libraries/java/httpunit/default.nix | 4 ++++ pkgs/development/libraries/java/hydra-ant-logger/default.nix | 4 ++++ pkgs/development/libraries/java/javasvn/default.nix | 4 ++++ pkgs/development/libraries/java/jdom/default.nix | 4 ++++ pkgs/development/libraries/java/jjtraveler/default.nix | 4 ++++ pkgs/development/libraries/java/libmatthew-java/default.nix | 4 ++++ pkgs/development/libraries/java/lucene/default.nix | 4 ++++ pkgs/development/libraries/java/mockobjects/default.nix | 4 ++++ pkgs/development/libraries/java/saxon/default.nix | 4 ++++ pkgs/development/libraries/java/saxon/default8.nix | 4 ++++ pkgs/development/libraries/java/shared-objects/default.nix | 4 ++++ pkgs/development/libraries/java/smack/default.nix | 4 ++++ pkgs/development/libraries/lesstif/default.nix | 4 ++++ pkgs/development/libraries/libaccounts-glib/default.nix | 4 ++++ pkgs/development/libraries/libbluedevil/default.nix | 4 ++++ pkgs/development/libraries/libcdaudio/default.nix | 4 ++++ pkgs/development/libraries/libgdiplus/default.nix | 4 ++++ pkgs/development/libraries/libgtop/default.nix | 4 ++++ pkgs/development/libraries/libicns/default.nix | 4 ++++ pkgs/development/libraries/libjpeg/62.nix | 4 ++++ pkgs/development/libraries/libmilter/default.nix | 4 ++++ pkgs/development/libraries/libmpcdec/default.nix | 4 ++++ pkgs/development/libraries/libmsn/default.nix | 4 ++++ pkgs/development/libraries/libproxy/default.nix | 4 ++++ pkgs/development/libraries/libpwquality/default.nix | 4 ++++ pkgs/development/libraries/librsvg/default.nix | 4 ++++ pkgs/development/libraries/libtunepimp/default.nix | 4 ++++ pkgs/development/libraries/libusb/default.nix | 4 ++++ pkgs/development/libraries/libwnck/3.x.nix | 4 ++++ pkgs/development/libraries/libwpd/0.8.nix | 4 ++++ pkgs/development/libraries/minizip/default.nix | 4 ++++ pkgs/development/libraries/msilbc/default.nix | 4 ++++ pkgs/development/libraries/netcdf/default.nix | 4 ++++ pkgs/development/libraries/opencl-icd/default.nix | 3 +++ pkgs/development/libraries/pangoxsl/default.nix | 4 ++++ pkgs/development/libraries/pdf2xml/default.nix | 4 ++++ pkgs/development/libraries/qrupdate/default.nix | 4 ++++ pkgs/development/libraries/qt-3/default.nix | 4 ++++ pkgs/development/libraries/sdformat/default.nix | 4 ++++ pkgs/development/libraries/sofia-sip/default.nix | 4 ++++ pkgs/development/libraries/t1lib/default.nix | 3 +++ pkgs/development/libraries/taglib-extras/default.nix | 4 ++++ pkgs/development/libraries/telepathy/farstream/default.nix | 4 ++++ pkgs/development/libraries/tinyxml-2/default.nix | 4 ++++ pkgs/development/libraries/tre/default.nix | 3 +++ pkgs/development/libraries/xlibs-wrapper/default.nix | 4 ++++ pkgs/development/mobile/androidenv/androidndk.nix | 4 ++++ pkgs/development/mobile/androidenv/androidsdk.nix | 4 ++++ pkgs/development/python-modules/pyexiv2/default.nix | 4 ++++ pkgs/development/python-modules/pygtksourceview/default.nix | 4 ++++ pkgs/development/r-modules/wrapper.nix | 4 ++++ .../development/tools/build-managers/gnumake/3.80/default.nix | 4 ++++ .../development/tools/build-managers/gnustep/make/default.nix | 4 ++++ pkgs/development/tools/build-managers/mk/default.nix | 4 ++++ pkgs/development/tools/literate-programming/noweb/default.nix | 4 ++++ pkgs/development/tools/misc/sqitch/default.nix | 4 ++++ pkgs/misc/phabricator/default.nix | 4 ++++ pkgs/os-specific/linux/915resolution/default.nix | 4 ++++ pkgs/os-specific/linux/cramfsswap/default.nix | 4 ++++ pkgs/os-specific/linux/klibc/default.nix | 4 ++++ pkgs/os-specific/linux/klibc/shrunk.nix | 4 ++++ pkgs/os-specific/linux/libnscd/default.nix | 4 ++++ pkgs/os-specific/linux/libvolume_id/default.nix | 4 ++++ pkgs/os-specific/linux/lsscsi/default.nix | 4 ++++ pkgs/os-specific/linux/nss_ldap/default.nix | 4 ++++ pkgs/os-specific/linux/opengl/xorg-sys/default.nix | 4 ++++ pkgs/os-specific/linux/systemd/libudev.nix | 4 ++++ pkgs/os-specific/linux/wireless-tools/default.nix | 4 ++++ pkgs/servers/fingerd/bsd-fingerd/default.nix | 4 ++++ pkgs/servers/ftp/vsftpd/default.nix | 4 ++++ .../servers/http/apache-modules/tomcat-connectors/default.nix | 4 ++++ pkgs/servers/http/jboss/jdbc/mysql/default.nix | 4 ++++ pkgs/servers/http/tomcat/jdbc/mysql/default.nix | 4 ++++ pkgs/servers/rt/default.nix | 4 ++++ pkgs/servers/sql/mysql/jdbc/default.nix | 4 ++++ pkgs/tools/X11/virtualgl/default.nix | 4 ++++ pkgs/tools/X11/xmacro/default.nix | 4 ++++ pkgs/tools/X11/xrestop/default.nix | 4 ++++ pkgs/tools/filesystems/curlftpfs/default.nix | 4 ++++ pkgs/tools/graphics/glxinfo/default.nix | 4 ++++ pkgs/tools/graphics/transfig/default.nix | 4 ++++ pkgs/tools/misc/cloud-utils/default.nix | 4 ++++ pkgs/tools/misc/dmg2img/default.nix | 4 ++++ pkgs/tools/misc/fondu/default.nix | 4 ++++ pkgs/tools/misc/getopt/default.nix | 4 ++++ pkgs/tools/misc/xsel/default.nix | 4 ++++ pkgs/tools/misc/xvfb-run/default.nix | 4 ++++ pkgs/tools/networking/bsd-finger/default.nix | 4 ++++ pkgs/tools/networking/openconnect.nix | 4 ++++ pkgs/tools/networking/p2p/azureus/default.nix | 4 ++++ pkgs/tools/networking/ssmtp/default.nix | 4 ++++ pkgs/tools/networking/webalizer/default.nix | 4 ++++ pkgs/tools/networking/weighttp/default.nix | 4 ++++ pkgs/tools/security/dirmngr/default.nix | 4 ++++ pkgs/tools/security/gnupg/1compat.nix | 4 ++++ pkgs/tools/security/mktemp/default.nix | 3 +++ pkgs/tools/security/mpw/default.nix | 4 ++++ pkgs/tools/text/xml/sablotron/default.nix | 4 ++++ pkgs/tools/typesetting/tex/lkproof/default.nix | 4 ++++ pkgs/tools/typesetting/tex/pgfplots/default.nix | 4 ++++ pkgs/tools/typesetting/xmlroff/default.nix | 4 ++++ 139 files changed, 548 insertions(+) diff --git a/pkgs/applications/audio/rubyripper/default.nix b/pkgs/applications/audio/rubyripper/default.nix index 035bb8764829..9e0a3712c971 100644 --- a/pkgs/applications/audio/rubyripper/default.nix +++ b/pkgs/applications/audio/rubyripper/default.nix @@ -16,4 +16,8 @@ stdenv.mkDerivation rec { --prefix PATH : "${ruby}/bin" \ --prefix PATH : "${cdparanoia}/bin" ''; + + meta = { + platforms = stdenv.lib.platforms.linux; + }; } diff --git a/pkgs/applications/graphics/batik/default.nix b/pkgs/applications/graphics/batik/default.nix index d776d433b37d..3c121211e3f0 100644 --- a/pkgs/applications/graphics/batik/default.nix +++ b/pkgs/applications/graphics/batik/default.nix @@ -9,4 +9,8 @@ stdenv.mkDerivation { }; buildInputs = [unzip]; + + meta = { + platforms = stdenv.lib.platforms.unix; + }; } diff --git a/pkgs/applications/misc/xautoclick/default.nix b/pkgs/applications/misc/xautoclick/default.nix index 611527153ee5..19d8a15fbfa0 100644 --- a/pkgs/applications/misc/xautoclick/default.nix +++ b/pkgs/applications/misc/xautoclick/default.nix @@ -21,4 +21,8 @@ stdenv.mkDerivation rec { ln -s ${qt4}/bin/moc .bin/moc-qt4 addToSearchPath PATH .bin ''; + + meta = { + platforms = stdenv.lib.platforms.linux; + }; } diff --git a/pkgs/applications/misc/xmove/default.nix b/pkgs/applications/misc/xmove/default.nix index 56558787cddf..32729d57475f 100644 --- a/pkgs/applications/misc/xmove/default.nix +++ b/pkgs/applications/misc/xmove/default.nix @@ -11,4 +11,8 @@ stdenv.mkDerivation { installPhase = "cd xmove; make install install.man MANDIR=\${out}/man/man1 BINDIR=\${out}/bin; cd .. ; cd xmovectrl ; make install install.man MANDIR=\${out}/man/man1 BINDIR=\${out}/bin; cd .."; buildInputs = [libX11 libXi imake xauth libXau]; + + meta = { + platforms = stdenv.lib.platforms.linux; + }; } diff --git a/pkgs/applications/misc/xpdf/libxpdf.nix b/pkgs/applications/misc/xpdf/libxpdf.nix index 7987d26946d5..cf6f5f32ee2a 100644 --- a/pkgs/applications/misc/xpdf/libxpdf.nix +++ b/pkgs/applications/misc/xpdf/libxpdf.nix @@ -46,4 +46,7 @@ stdenv.mkDerivation { cp -v xpdf/*.h $out/include ''; + meta = { + platforms = stdenv.lib.platforms.unix; + }; } diff --git a/pkgs/applications/networking/browsers/mozilla-plugins/gmtk/default.nix b/pkgs/applications/networking/browsers/mozilla-plugins/gmtk/default.nix index 1c5f128fc12a..d149cd40d8c6 100644 --- a/pkgs/applications/networking/browsers/mozilla-plugins/gmtk/default.nix +++ b/pkgs/applications/networking/browsers/mozilla-plugins/gmtk/default.nix @@ -9,4 +9,8 @@ stdenv.mkDerivation rec { }; buildInputs = [ intltool pkgconfig gtk GConf alsaLib ]; + + meta = { + platforms = stdenv.lib.platforms.linux; + }; } diff --git a/pkgs/applications/networking/mumble/overlay.nix b/pkgs/applications/networking/mumble/overlay.nix index 23f78ff29b38..185672a21f8c 100644 --- a/pkgs/applications/networking/mumble/overlay.nix +++ b/pkgs/applications/networking/mumble/overlay.nix @@ -21,4 +21,8 @@ in stdenv.mkDerivation { sed -i "s,/usr/lib,$out/lib,g" $out/bin/mumble-overlay sed -i '2iPATH="${binPath}:$PATH"' $out/bin/mumble-overlay ''; + + meta = { + platforms = stdenv.lib.platforms.linux; + }; } diff --git a/pkgs/applications/version-management/gitlab-shell/default.nix b/pkgs/applications/version-management/gitlab-shell/default.nix index c2e746630da5..0b0f59b0077e 100644 --- a/pkgs/applications/version-management/gitlab-shell/default.nix +++ b/pkgs/applications/version-management/gitlab-shell/default.nix @@ -56,4 +56,7 @@ stdenv.mkDerivation rec { " *args)" ''; + meta = { + platforms = stdenv.lib.platforms.unix; + }; } diff --git a/pkgs/applications/version-management/gitlab-workhorse/default.nix b/pkgs/applications/version-management/gitlab-workhorse/default.nix index 06c05d9f3b3b..e24ff31708ea 100644 --- a/pkgs/applications/version-management/gitlab-workhorse/default.nix +++ b/pkgs/applications/version-management/gitlab-workhorse/default.nix @@ -23,4 +23,8 @@ stdenv.mkDerivation rec { mkdir -p $out/bin make install PREFIX=$out ''; + + meta = { + platforms = stdenv.lib.platforms.unix; + }; } diff --git a/pkgs/applications/window-managers/taffybar/default.nix b/pkgs/applications/window-managers/taffybar/default.nix index 66e880197bb5..3181914c40ff 100644 --- a/pkgs/applications/window-managers/taffybar/default.nix +++ b/pkgs/applications/window-managers/taffybar/default.nix @@ -12,4 +12,8 @@ in stdenv.mkDerivation { makeWrapper ${taffybarEnv}/bin/taffybar $out/bin/taffybar \ --set NIX_GHC "${taffybarEnv}/bin/ghc" ''; + + meta = { + platforms = stdenv.lib.platforms.unix; + }; } diff --git a/pkgs/build-support/libredirect/default.nix b/pkgs/build-support/libredirect/default.nix index a8a497d46d73..bc777c7e6c74 100644 --- a/pkgs/build-support/libredirect/default.nix +++ b/pkgs/build-support/libredirect/default.nix @@ -11,4 +11,8 @@ stdenv.mkDerivation { ''; installPhase = "mkdir -p $out/lib; cp libredirect.so $out/lib"; + + meta = { + platforms = stdenv.lib.platforms.linux; + }; } diff --git a/pkgs/data/fonts/dejavu-fonts/default.nix b/pkgs/data/fonts/dejavu-fonts/default.nix index 76e9b03b9ab4..3c38be90ded4 100644 --- a/pkgs/data/fonts/dejavu-fonts/default.nix +++ b/pkgs/data/fonts/dejavu-fonts/default.nix @@ -39,4 +39,8 @@ stdenv.mkDerivation rec { cp $i $out/share/fonts/truetype; done; ''; + + meta = { + platforms = stdenv.lib.platforms.linux; + }; } diff --git a/pkgs/data/fonts/mph-2b-damase/default.nix b/pkgs/data/fonts/mph-2b-damase/default.nix index 0424f6e727c8..49d857ec575a 100644 --- a/pkgs/data/fonts/mph-2b-damase/default.nix +++ b/pkgs/data/fonts/mph-2b-damase/default.nix @@ -18,4 +18,8 @@ stdenv.mkDerivation { mkdir -p $out/share/fonts/truetype cp *.ttf $out/share/fonts/truetype ''; + + meta = { + platforms = stdenv.lib.platforms.unix; + }; } diff --git a/pkgs/data/fonts/ttf-bitstream-vera/default.nix b/pkgs/data/fonts/ttf-bitstream-vera/default.nix index d448aa558eb2..0ab7657cc6f7 100644 --- a/pkgs/data/fonts/ttf-bitstream-vera/default.nix +++ b/pkgs/data/fonts/ttf-bitstream-vera/default.nix @@ -15,4 +15,8 @@ stdenv.mkDerivation { mkdir -p $fontDir cp *.ttf $fontDir ''; + + meta = { + platforms = stdenv.lib.platforms.unix; + }; } diff --git a/pkgs/data/sgml+xml/schemas/sgml-dtd/docbook/3.1.nix b/pkgs/data/sgml+xml/schemas/sgml-dtd/docbook/3.1.nix index 6f29c78eca69..b7ab83aa5773 100644 --- a/pkgs/data/sgml+xml/schemas/sgml-dtd/docbook/3.1.nix +++ b/pkgs/data/sgml+xml/schemas/sgml-dtd/docbook/3.1.nix @@ -30,4 +30,8 @@ stdenv.mkDerivation { unzip ${isoents} sed -e "s/iso-/ISO/" -e "s/.gml//" -i docbook.cat ''; + + meta = { + platforms = stdenv.lib.platforms.unix; + }; } diff --git a/pkgs/data/sgml+xml/schemas/sgml-dtd/docbook/4.1.nix b/pkgs/data/sgml+xml/schemas/sgml-dtd/docbook/4.1.nix index 811515ee55b3..424a44c1bc78 100644 --- a/pkgs/data/sgml+xml/schemas/sgml-dtd/docbook/4.1.nix +++ b/pkgs/data/sgml+xml/schemas/sgml-dtd/docbook/4.1.nix @@ -30,4 +30,8 @@ stdenv.mkDerivation { unzip ${isoents} sed -e "s/iso-/ISO/" -e "s/.gml//" -i docbook.cat ''; + + meta = { + platforms = stdenv.lib.platforms.unix; + }; } diff --git a/pkgs/data/sgml+xml/schemas/xml-dtd/docbook-ebnf/default.nix b/pkgs/data/sgml+xml/schemas/xml-dtd/docbook-ebnf/default.nix index 5d5a622ba422..0df76cd28761 100644 --- a/pkgs/data/sgml+xml/schemas/xml-dtd/docbook-ebnf/default.nix +++ b/pkgs/data/sgml+xml/schemas/xml-dtd/docbook-ebnf/default.nix @@ -10,4 +10,8 @@ stdenv.mkDerivation { md5 = "e50f7d38caf4285965c7a247e026fa7c"; }; catalog = ./docbook-ebnf.cat; + + meta = { + platforms = stdenv.lib.platforms.unix; + }; } diff --git a/pkgs/development/beam-modules/hex-registry-snapshot.nix b/pkgs/development/beam-modules/hex-registry-snapshot.nix index b4f02a127c00..9f5cc3a63e6e 100644 --- a/pkgs/development/beam-modules/hex-registry-snapshot.nix +++ b/pkgs/development/beam-modules/hex-registry-snapshot.nix @@ -20,4 +20,8 @@ stdenv.mkDerivation rec { setupHook = writeText "setupHook.sh" '' export HEX_REGISTRY_SNAPSHOT="$1/var/hex/registry.ets" ''; + + meta = { + platforms = stdenv.lib.platforms.unix; + }; } diff --git a/pkgs/development/compilers/jikes/default.nix b/pkgs/development/compilers/jikes/default.nix index b278bdfc4947..1423bc8d51ef 100644 --- a/pkgs/development/compilers/jikes/default.nix +++ b/pkgs/development/compilers/jikes/default.nix @@ -6,4 +6,8 @@ stdenv.mkDerivation { url = mirror://sourceforge/jikes/jikes-1.22.tar.bz2; md5 = "cda958c7fef6b43b803e1d1ef9afcb85"; }; + + meta = { + platforms = stdenv.lib.platforms.unix; + }; } diff --git a/pkgs/development/compilers/meta-environment/meta-build-env/default.nix b/pkgs/development/compilers/meta-environment/meta-build-env/default.nix index 00d3075df3c7..105844887f1d 100644 --- a/pkgs/development/compilers/meta-environment/meta-build-env/default.nix +++ b/pkgs/development/compilers/meta-environment/meta-build-env/default.nix @@ -4,4 +4,8 @@ url = http://www.meta-environment.org/releases/meta-build-env-0.1.tar.gz ; md5 = "827b54ace4e2d3c8e7605ea149b34293"; }; + + meta = { + platforms = stdenv.lib.platforms.unix; + }; } diff --git a/pkgs/development/compilers/ocaml/3.08.0.nix b/pkgs/development/compilers/ocaml/3.08.0.nix index a2581f29a3f7..fd684fd93e86 100644 --- a/pkgs/development/compilers/ocaml/3.08.0.nix +++ b/pkgs/development/compilers/ocaml/3.08.0.nix @@ -12,4 +12,8 @@ stdenv.mkDerivation { configureFlags = ["-no-tk" "-x11lib" xlibsWrapper]; buildFlags = ["world" "bootstrap" "opt"]; checkTarget = ["opt.opt"]; + + meta = { + platforms = stdenv.lib.platforms.linux; + }; } diff --git a/pkgs/development/interpreters/spidermonkey/1.8.0-rc1.nix b/pkgs/development/interpreters/spidermonkey/1.8.0-rc1.nix index 960cd86ec27f..46dedb36de96 100644 --- a/pkgs/development/interpreters/spidermonkey/1.8.0-rc1.nix +++ b/pkgs/development/interpreters/spidermonkey/1.8.0-rc1.nix @@ -27,4 +27,8 @@ stdenv.mkDerivation rec { ''; makeFlags = "-f ${makefile} JS_DIST=\${out} BUILD_OPT=1 JS_READLINE=1 JS_THREADSAFE=1"; + + meta = { + platforms = stdenv.lib.platforms.linux; + }; } diff --git a/pkgs/development/libraries/beecrypt/default.nix b/pkgs/development/libraries/beecrypt/default.nix index d90dae2dee0a..a48de9a03f21 100644 --- a/pkgs/development/libraries/beecrypt/default.nix +++ b/pkgs/development/libraries/beecrypt/default.nix @@ -8,4 +8,8 @@ stdenv.mkDerivation { }; buildInputs = [m4]; configureFlags = "--disable-optimized --enable-static"; + + meta = { + platforms = stdenv.lib.platforms.linux; + }; } diff --git a/pkgs/development/libraries/breakpad/default.nix b/pkgs/development/libraries/breakpad/default.nix index 9ae4f89bfc3e..7f3117fac424 100644 --- a/pkgs/development/libraries/breakpad/default.nix +++ b/pkgs/development/libraries/breakpad/default.nix @@ -21,4 +21,8 @@ stdenv.mkDerivation { cp -r $breakpad_lss src/third_party/lss chmod +w -R src/third_party/lss ''; + + meta = { + platforms = stdenv.lib.platforms.unix; + }; } diff --git a/pkgs/development/libraries/dclib/default.nix b/pkgs/development/libraries/dclib/default.nix index fb290cbcbeba..5a879e04c7d3 100644 --- a/pkgs/development/libraries/dclib/default.nix +++ b/pkgs/development/libraries/dclib/default.nix @@ -9,4 +9,8 @@ stdenv.mkDerivation { }; buildInputs = [libxml2 openssl bzip2]; + + meta = { + platforms = stdenv.lib.platforms.linux; + }; } diff --git a/pkgs/development/libraries/giflib/libungif.nix b/pkgs/development/libraries/giflib/libungif.nix index 725539a8131d..4abd96fa3cec 100644 --- a/pkgs/development/libraries/giflib/libungif.nix +++ b/pkgs/development/libraries/giflib/libungif.nix @@ -6,4 +6,8 @@ stdenv.mkDerivation { url = mirror://sourceforge/giflib/libungif-4.1.4.tar.gz; sha256 = "5e65e1e5deacd0cde489900dbf54c6c2ee2ebc818199e720dbad685d87abda3d"; }; + + meta = { + platforms = stdenv.lib.platforms.unix; + }; } diff --git a/pkgs/development/libraries/gtk-sharp/2.0.nix b/pkgs/development/libraries/gtk-sharp/2.0.nix index 0e659fb074bd..20c79d7202eb 100644 --- a/pkgs/development/libraries/gtk-sharp/2.0.nix +++ b/pkgs/development/libraries/gtk-sharp/2.0.nix @@ -46,4 +46,8 @@ stdenv.mkDerivation { passthru = { inherit gtk; }; + + meta = { + platforms = stdenv.lib.platforms.linux; + }; } diff --git a/pkgs/development/libraries/gtk-sharp/3.0.nix b/pkgs/development/libraries/gtk-sharp/3.0.nix index 380c43108de0..9fb99c3f27e7 100644 --- a/pkgs/development/libraries/gtk-sharp/3.0.nix +++ b/pkgs/development/libraries/gtk-sharp/3.0.nix @@ -45,4 +45,8 @@ stdenv.mkDerivation { passthru = { inherit gtk3; }; + + meta = { + platforms = stdenv.lib.platforms.linux; + }; } diff --git a/pkgs/development/libraries/gtkmozembed-sharp/default.nix b/pkgs/development/libraries/gtkmozembed-sharp/default.nix index b54f3cc2f61c..512d443f9fc7 100644 --- a/pkgs/development/libraries/gtkmozembed-sharp/default.nix +++ b/pkgs/development/libraries/gtkmozembed-sharp/default.nix @@ -14,4 +14,8 @@ stdenv.mkDerivation { ]; inherit monoDLLFixer; + + meta = { + platforms = stdenv.lib.platforms.linux; + }; } diff --git a/pkgs/development/libraries/gtkspell/default.nix b/pkgs/development/libraries/gtkspell/default.nix index 030375938a68..daf400fdc5a5 100644 --- a/pkgs/development/libraries/gtkspell/default.nix +++ b/pkgs/development/libraries/gtkspell/default.nix @@ -9,4 +9,8 @@ stdenv.mkDerivation { }; buildInputs = [aspell pkgconfig gtk enchant intltool]; + + meta = { + platforms = stdenv.lib.platforms.unix; + }; } diff --git a/pkgs/development/libraries/id3lib/default.nix b/pkgs/development/libraries/id3lib/default.nix index 9f880e3ea9f7..199ac7c902b0 100644 --- a/pkgs/development/libraries/id3lib/default.nix +++ b/pkgs/development/libraries/id3lib/default.nix @@ -14,4 +14,8 @@ stdenv.mkDerivation { url = mirror://sourceforge/id3lib/id3lib-3.8.3.tar.gz; sha256 = "0yfhqwk0w8q2hyv1jib1008jvzmwlpsxvc8qjllhna6p1hycqj97"; }; + + meta = { + platforms = stdenv.lib.platforms.unix; + }; } diff --git a/pkgs/development/libraries/ilbc/default.nix b/pkgs/development/libraries/ilbc/default.nix index 0ea2949659c6..cb83322ebb65 100644 --- a/pkgs/development/libraries/ilbc/default.nix +++ b/pkgs/development/libraries/ilbc/default.nix @@ -19,4 +19,7 @@ stdenv.mkDerivation rec { cp -v ${./CMakeLists.txt} CMakeLists.txt ''; + meta = { + platforms = stdenv.lib.platforms.unix; + }; } diff --git a/pkgs/development/libraries/imlib/default.nix b/pkgs/development/libraries/imlib/default.nix index d8193926fef5..e99fc2ca3f96 100644 --- a/pkgs/development/libraries/imlib/default.nix +++ b/pkgs/development/libraries/imlib/default.nix @@ -13,4 +13,8 @@ stdenv.mkDerivation { --x-libraries=${libX11}/lib"; buildInputs = [libjpeg libXext libX11 xextproto libtiff libungif libpng]; + + meta = { + platforms = stdenv.lib.platforms.unix; + }; } diff --git a/pkgs/development/libraries/java/aterm/default.nix b/pkgs/development/libraries/java/aterm/default.nix index 5a3f735b43aa..f643c607cbd1 100644 --- a/pkgs/development/libraries/java/aterm/default.nix +++ b/pkgs/development/libraries/java/aterm/default.nix @@ -7,4 +7,8 @@ stdenv.mkDerivation { md5 = "abf475dae2f5efca865fcdff871feb5e"; }; buildInputs = [stdenv jdk sharedobjects jjtraveler]; + + meta = { + platforms = stdenv.lib.platforms.unix; + }; } diff --git a/pkgs/development/libraries/java/dbus-java/default.nix b/pkgs/development/libraries/java/dbus-java/default.nix index 7b55f8b15a2a..8ca3bf1cd34a 100644 --- a/pkgs/development/libraries/java/dbus-java/default.nix +++ b/pkgs/development/libraries/java/dbus-java/default.nix @@ -18,4 +18,8 @@ stdenv.mkDerivation { -e "s|install: install-bin install-man install-doc|install: install-bin|" Makefile ''; maintainers = [ stdenv.lib.maintainers.sander ]; + + meta = { + platforms = stdenv.lib.platforms.linux; + }; } diff --git a/pkgs/development/libraries/java/gwt-dragdrop/default.nix b/pkgs/development/libraries/java/gwt-dragdrop/default.nix index 034ac9afb269..b9d66fdc9716 100644 --- a/pkgs/development/libraries/java/gwt-dragdrop/default.nix +++ b/pkgs/development/libraries/java/gwt-dragdrop/default.nix @@ -8,4 +8,8 @@ stdenv.mkDerivation { url = http://gwt-dnd.googlecode.com/files/gwt-dnd-2.6.5.jar; sha256 = "07zdlr8afs499asnw0dcjmw1cnjc646v91lflx5dv4qj374c97fw"; }; + + meta = { + platforms = stdenv.lib.platforms.unix; + }; } diff --git a/pkgs/development/libraries/java/gwt-widgets/default.nix b/pkgs/development/libraries/java/gwt-widgets/default.nix index de638ce9185f..b182964f6579 100644 --- a/pkgs/development/libraries/java/gwt-widgets/default.nix +++ b/pkgs/development/libraries/java/gwt-widgets/default.nix @@ -8,4 +8,8 @@ stdenv.mkDerivation { url = mirror://sourceforge/gwt-widget/gwt-widgets-0.2.0-bin.tar.gz; sha256 = "09isj4j6842rj13nv8264irkjjhvmgihmi170ciabc98911bakxb"; }; + + meta = { + platforms = stdenv.lib.platforms.unix; + }; } diff --git a/pkgs/development/libraries/java/hsqldb/default.nix b/pkgs/development/libraries/java/hsqldb/default.nix index 695616eca51a..ad849a4d6d53 100644 --- a/pkgs/development/libraries/java/hsqldb/default.nix +++ b/pkgs/development/libraries/java/hsqldb/default.nix @@ -13,4 +13,7 @@ stdenv.mkDerivation { buildInputs = [ unzip ]; + meta = { + platforms = stdenv.lib.platforms.unix; + }; } diff --git a/pkgs/development/libraries/java/httpunit/default.nix b/pkgs/development/libraries/java/httpunit/default.nix index 73eb33df812d..221a2e93e4fc 100644 --- a/pkgs/development/libraries/java/httpunit/default.nix +++ b/pkgs/development/libraries/java/httpunit/default.nix @@ -10,4 +10,8 @@ stdenv.mkDerivation { }; inherit unzip; + + meta = { + platforms = stdenv.lib.platforms.unix; + }; } diff --git a/pkgs/development/libraries/java/hydra-ant-logger/default.nix b/pkgs/development/libraries/java/hydra-ant-logger/default.nix index c54c3f3a8ee8..7d1fac39b1cb 100644 --- a/pkgs/development/libraries/java/hydra-ant-logger/default.nix +++ b/pkgs/development/libraries/java/hydra-ant-logger/default.nix @@ -18,4 +18,8 @@ stdenv.mkDerivation rec { mkdir -p $out/share/java cp -v *.jar $out/share/java ''; + + meta = { + platforms = stdenv.lib.platforms.unix; + }; } diff --git a/pkgs/development/libraries/java/javasvn/default.nix b/pkgs/development/libraries/java/javasvn/default.nix index 2c43ba7043b1..b698de6d5a7f 100644 --- a/pkgs/development/libraries/java/javasvn/default.nix +++ b/pkgs/development/libraries/java/javasvn/default.nix @@ -10,4 +10,8 @@ stdenv.mkDerivation { }; inherit unzip; + + meta = { + platforms = stdenv.lib.platforms.unix; + }; } diff --git a/pkgs/development/libraries/java/jdom/default.nix b/pkgs/development/libraries/java/jdom/default.nix index 5211156fe7ee..9f0440f03049 100644 --- a/pkgs/development/libraries/java/jdom/default.nix +++ b/pkgs/development/libraries/java/jdom/default.nix @@ -8,4 +8,8 @@ stdenv.mkDerivation { url = http://www.jdom.org/dist/binary/jdom-1.0.tar.gz; md5 = "ce29ecc05d63fdb419737fd00c04c281"; }; + + meta = { + platforms = stdenv.lib.platforms.unix; + }; } diff --git a/pkgs/development/libraries/java/jjtraveler/default.nix b/pkgs/development/libraries/java/jjtraveler/default.nix index cb359fd94921..b9dc1d688605 100644 --- a/pkgs/development/libraries/java/jjtraveler/default.nix +++ b/pkgs/development/libraries/java/jjtraveler/default.nix @@ -7,4 +7,8 @@ stdenv.mkDerivation { md5 = "35bf801ee61f042513ae88247fe1bf1d"; }; buildInputs = [stdenv jdk]; + + meta = { + platforms = stdenv.lib.platforms.unix; + }; } diff --git a/pkgs/development/libraries/java/libmatthew-java/default.nix b/pkgs/development/libraries/java/libmatthew-java/default.nix index 3924b0cdc224..df4a19efd2c4 100644 --- a/pkgs/development/libraries/java/libmatthew-java/default.nix +++ b/pkgs/development/libraries/java/libmatthew-java/default.nix @@ -10,4 +10,8 @@ stdenv.mkDerivation { PREFIX=''''${out}''; buildInputs = [ jdk ]; maintainers = [ stdenv.lib.maintainers.sander ]; + + meta = { + platforms = stdenv.lib.platforms.linux; + }; } diff --git a/pkgs/development/libraries/java/lucene/default.nix b/pkgs/development/libraries/java/lucene/default.nix index 76e08696b0cc..d6e26a02d676 100644 --- a/pkgs/development/libraries/java/lucene/default.nix +++ b/pkgs/development/libraries/java/lucene/default.nix @@ -8,4 +8,8 @@ stdenv.mkDerivation { url = http://cvs.apache.org/dist/jakarta/lucene/v1.4.1/lucene-1.4.1.tar.gz; md5 = "656a6f40f5b8f7d2e19453436848bfe8"; }; + + meta = { + platforms = stdenv.lib.platforms.unix; + }; } diff --git a/pkgs/development/libraries/java/mockobjects/default.nix b/pkgs/development/libraries/java/mockobjects/default.nix index 80afb0689b96..5681200c4fa7 100644 --- a/pkgs/development/libraries/java/mockobjects/default.nix +++ b/pkgs/development/libraries/java/mockobjects/default.nix @@ -8,4 +8,8 @@ stdenv.mkDerivation { url = mirror://sourceforge/mockobjects/mockobjects-bin-0.09.tar; md5 = "a0e11423bd5fcbb6ea65753643ea8852"; }; + + meta = { + platforms = stdenv.lib.platforms.unix; + }; } diff --git a/pkgs/development/libraries/java/saxon/default.nix b/pkgs/development/libraries/java/saxon/default.nix index b333624100c8..464776569cb1 100644 --- a/pkgs/development/libraries/java/saxon/default.nix +++ b/pkgs/development/libraries/java/saxon/default.nix @@ -10,4 +10,8 @@ stdenv.mkDerivation { inherit unzip; buildInputs = [unzip]; + + meta = { + platforms = stdenv.lib.platforms.unix; + }; } diff --git a/pkgs/development/libraries/java/saxon/default8.nix b/pkgs/development/libraries/java/saxon/default8.nix index bf1ee340d46f..7f1f0e260c0a 100644 --- a/pkgs/development/libraries/java/saxon/default8.nix +++ b/pkgs/development/libraries/java/saxon/default8.nix @@ -19,4 +19,8 @@ exec ${jre}/bin/java -jar $out/saxon8.jar \"\\$@\" EOF chmod a+x $out/bin/saxon8 "; + + meta = { + platforms = stdenv.lib.platforms.unix; + }; } diff --git a/pkgs/development/libraries/java/shared-objects/default.nix b/pkgs/development/libraries/java/shared-objects/default.nix index c0f12248b3c1..9453aa0635c7 100644 --- a/pkgs/development/libraries/java/shared-objects/default.nix +++ b/pkgs/development/libraries/java/shared-objects/default.nix @@ -7,4 +7,8 @@ stdenv.mkDerivation { md5 = "c1f2c58bd1a07be32da8a6b89354a11f"; }; buildInputs = [stdenv jdk]; + + meta = { + platforms = stdenv.lib.platforms.unix; + }; } diff --git a/pkgs/development/libraries/java/smack/default.nix b/pkgs/development/libraries/java/smack/default.nix index 9d1d8f535336..081bcccdd7dd 100644 --- a/pkgs/development/libraries/java/smack/default.nix +++ b/pkgs/development/libraries/java/smack/default.nix @@ -8,4 +8,8 @@ stdenv.mkDerivation { url = http://www.igniterealtime.org/downloadServlet?filename=smack/smack_3_4_1.tar.gz; sha256 = "13jm93b0dsfxr62brq1hagi9fqk7ip3pi80svq10zh5kcpk77jf4"; }; + + meta = { + platforms = stdenv.lib.platforms.unix; + }; } diff --git a/pkgs/development/libraries/lesstif/default.nix b/pkgs/development/libraries/lesstif/default.nix index 67263d5ff5ed..04e8eab4d287 100644 --- a/pkgs/development/libraries/lesstif/default.nix +++ b/pkgs/development/libraries/lesstif/default.nix @@ -18,4 +18,8 @@ stdenv.mkDerivation rec { ./c-render_table_crash.patch ./c-xpmpipethrough.patch ]; + + meta = { + platforms = stdenv.lib.platforms.unix; + }; } diff --git a/pkgs/development/libraries/libaccounts-glib/default.nix b/pkgs/development/libraries/libaccounts-glib/default.nix index 2e2bdb11d501..e410b6d4aa52 100644 --- a/pkgs/development/libraries/libaccounts-glib/default.nix +++ b/pkgs/development/libraries/libaccounts-glib/default.nix @@ -24,4 +24,8 @@ stdenv.mkDerivation rec { ''; NIX_CFLAGS_COMPILE = "-Wno-error=deprecated-declarations"; # since glib-2.46 + + meta = { + platforms = stdenv.lib.platforms.linux; + }; } diff --git a/pkgs/development/libraries/libbluedevil/default.nix b/pkgs/development/libraries/libbluedevil/default.nix index 44b8d47b5e3b..d2e4fe90d2cf 100644 --- a/pkgs/development/libraries/libbluedevil/default.nix +++ b/pkgs/development/libraries/libbluedevil/default.nix @@ -13,4 +13,8 @@ stdenv.mkDerivation rec { }; buildInputs = [ cmake qt4 ]; + + meta = { + platforms = stdenv.lib.platforms.unix; + }; } diff --git a/pkgs/development/libraries/libcdaudio/default.nix b/pkgs/development/libraries/libcdaudio/default.nix index a04815df4906..aca2d056f8f9 100644 --- a/pkgs/development/libraries/libcdaudio/default.nix +++ b/pkgs/development/libraries/libcdaudio/default.nix @@ -6,4 +6,8 @@ stdenv.mkDerivation { url = mirror://sourceforge/libcdaudio/libcdaudio-0.99.12.tar.gz ; md5 = "63b49cf14d53eed31e7a87cca17a3963" ; }; + + meta = { + platforms = stdenv.lib.platforms.linux; + }; } diff --git a/pkgs/development/libraries/libgdiplus/default.nix b/pkgs/development/libraries/libgdiplus/default.nix index 60995046982f..25c5a6d683d7 100644 --- a/pkgs/development/libraries/libgdiplus/default.nix +++ b/pkgs/development/libraries/libgdiplus/default.nix @@ -27,4 +27,8 @@ stdenv.mkDerivation rec { libjpeg libpng libXrender libexif ] ++ stdenv.lib.optional stdenv.isDarwin Carbon; + + meta = { + platforms = stdenv.lib.platforms.unix; + }; } diff --git a/pkgs/development/libraries/libgtop/default.nix b/pkgs/development/libraries/libgtop/default.nix index e430dc967f89..ac5b4dec07ba 100644 --- a/pkgs/development/libraries/libgtop/default.nix +++ b/pkgs/development/libraries/libgtop/default.nix @@ -9,4 +9,8 @@ stdenv.mkDerivation { propagatedBuildInputs = [ glib ]; nativeBuildInputs = [ pkgconfig perl intltool gobjectIntrospection ]; + + meta = { + platforms = stdenv.lib.platforms.linux; + }; } diff --git a/pkgs/development/libraries/libicns/default.nix b/pkgs/development/libraries/libicns/default.nix index 970a7a874979..08d80bcf9856 100644 --- a/pkgs/development/libraries/libicns/default.nix +++ b/pkgs/development/libraries/libicns/default.nix @@ -9,4 +9,8 @@ stdenv.mkDerivation rec { }; buildInputs = [ libpng jasper ]; + + meta = { + platforms = stdenv.lib.platforms.unix; + }; } diff --git a/pkgs/development/libraries/libjpeg/62.nix b/pkgs/development/libraries/libjpeg/62.nix index fb92fe995b66..40e2ae62de7f 100644 --- a/pkgs/development/libraries/libjpeg/62.nix +++ b/pkgs/development/libraries/libjpeg/62.nix @@ -26,4 +26,8 @@ stdenv.mkDerivation { md5 = "092a12aeb0c386dd7dae059109d950ba"; }) ]; + + meta = { + platforms = stdenv.lib.platforms.unix; + }; } diff --git a/pkgs/development/libraries/libmilter/default.nix b/pkgs/development/libraries/libmilter/default.nix index 23083ec77ac3..a5db2d235728 100644 --- a/pkgs/development/libraries/libmilter/default.nix +++ b/pkgs/development/libraries/libmilter/default.nix @@ -31,4 +31,8 @@ stdenv.mkDerivation rec { patches = [ ./install.patch ./sharedlib.patch]; buildInputs = [m4]; + + meta = { + platforms = stdenv.lib.platforms.linux; + }; } diff --git a/pkgs/development/libraries/libmpcdec/default.nix b/pkgs/development/libraries/libmpcdec/default.nix index 2916b00eea7c..64cf460d75a0 100644 --- a/pkgs/development/libraries/libmpcdec/default.nix +++ b/pkgs/development/libraries/libmpcdec/default.nix @@ -6,4 +6,8 @@ stdenv.mkDerivation { url = http://files.musepack.net/source/libmpcdec-1.2.6.tar.bz2; md5 = "7f7a060e83b4278acf4b77d7a7b9d2c0"; }; + + meta = { + platforms = stdenv.lib.platforms.unix; + }; } diff --git a/pkgs/development/libraries/libmsn/default.nix b/pkgs/development/libraries/libmsn/default.nix index 77fe3403de77..703c5e36b8b7 100644 --- a/pkgs/development/libraries/libmsn/default.nix +++ b/pkgs/development/libraries/libmsn/default.nix @@ -8,4 +8,8 @@ stdenv.mkDerivation rec { }; patches = [ ./fix-ftbfs-gcc4.7.diff ]; buildInputs = [ cmake openssl ]; + + meta = { + platforms = stdenv.lib.platforms.unix; + }; } diff --git a/pkgs/development/libraries/libproxy/default.nix b/pkgs/development/libraries/libproxy/default.nix index 0f0808506398..76452af0c475 100644 --- a/pkgs/development/libraries/libproxy/default.nix +++ b/pkgs/development/libraries/libproxy/default.nix @@ -13,4 +13,8 @@ stdenv.mkDerivation rec { propagatedBuildInputs = [ zlib ] # now some optional deps, but many more are possible ++ [ glib ]; + + meta = { + platforms = stdenv.lib.platforms.linux; + }; } diff --git a/pkgs/development/libraries/libpwquality/default.nix b/pkgs/development/libraries/libpwquality/default.nix index fa272f2ec6f1..3e4fe99df4ca 100644 --- a/pkgs/development/libraries/libpwquality/default.nix +++ b/pkgs/development/libraries/libpwquality/default.nix @@ -10,4 +10,8 @@ stdenv.mkDerivation rec { }; buildInputs = [ cracklib python ]; + + meta = { + platforms = stdenv.lib.platforms.linux; + }; } diff --git a/pkgs/development/libraries/librsvg/default.nix b/pkgs/development/libraries/librsvg/default.nix index 6147e847b33d..d6a527ea3153 100644 --- a/pkgs/development/libraries/librsvg/default.nix +++ b/pkgs/development/libraries/librsvg/default.nix @@ -52,4 +52,8 @@ stdenv.mkDerivation rec { cat ${gdk_pixbuf.out}/lib/gdk-pixbuf-2.0/2.10.0/loaders.cache $GDK_PIXBUF/loaders.cache.tmp > $GDK_PIXBUF/loaders.cache rm $GDK_PIXBUF/loaders.cache.tmp ''; + + meta = { + platforms = stdenv.lib.platforms.unix; + }; } diff --git a/pkgs/development/libraries/libtunepimp/default.nix b/pkgs/development/libraries/libtunepimp/default.nix index e1279a566675..0d929941044c 100644 --- a/pkgs/development/libraries/libtunepimp/default.nix +++ b/pkgs/development/libraries/libtunepimp/default.nix @@ -13,4 +13,8 @@ stdenv.mkDerivation rec { url = "ftp://ftp.musicbrainz.org/pub/musicbrainz/${name}.tar.gz"; sha256 = "0s141zmsxv8xlivcgcmy6xhk9cyjjxmr1fy45xiqfqrqpsh485rl"; }; + + meta = { + platforms = stdenv.lib.platforms.linux; + }; } diff --git a/pkgs/development/libraries/libusb/default.nix b/pkgs/development/libraries/libusb/default.nix index b1872779b707..d5f08537e5be 100644 --- a/pkgs/development/libraries/libusb/default.nix +++ b/pkgs/development/libraries/libusb/default.nix @@ -13,4 +13,8 @@ stdenv.mkDerivation { url = mirror://sourceforge/libusb/libusb-compat-0.1.5.tar.bz2; sha256 = "0nn5icrfm9lkhzw1xjvaks9bq3w6mjg86ggv3fn7kgi4nfvg8kj0"; }; + + meta = { + platforms = stdenv.lib.platforms.unix; + }; } diff --git a/pkgs/development/libraries/libwnck/3.x.nix b/pkgs/development/libraries/libwnck/3.x.nix index a763af96667b..20502e297bf8 100644 --- a/pkgs/development/libraries/libwnck/3.x.nix +++ b/pkgs/development/libraries/libwnck/3.x.nix @@ -15,4 +15,8 @@ stdenv.mkDerivation { buildInputs = [ pkgconfig intltool ]; propagatedBuildInputs = [ libX11 gtk3 ]; + + meta = { + platforms = stdenv.lib.platforms.linux; + }; } diff --git a/pkgs/development/libraries/libwpd/0.8.nix b/pkgs/development/libraries/libwpd/0.8.nix index 536db35fb4e9..49012f8bddf8 100644 --- a/pkgs/development/libraries/libwpd/0.8.nix +++ b/pkgs/development/libraries/libwpd/0.8.nix @@ -13,4 +13,8 @@ stdenv.mkDerivation rec { buildInputs = [ glib libgsf libxml2 ]; nativeBuildInputs = [ pkgconfig bzip2 ]; + + meta = { + platforms = stdenv.lib.platforms.unix; + }; } diff --git a/pkgs/development/libraries/minizip/default.nix b/pkgs/development/libraries/minizip/default.nix index 22657cf38993..d9bac46230ac 100644 --- a/pkgs/development/libraries/minizip/default.nix +++ b/pkgs/development/libraries/minizip/default.nix @@ -8,4 +8,8 @@ stdenv.mkDerivation { buildInputs = [ zlib ]; sourceRoot = "zlib-${zlib.version}/contrib/minizip"; + + meta = { + platforms = stdenv.lib.platforms.unix; + }; } diff --git a/pkgs/development/libraries/msilbc/default.nix b/pkgs/development/libraries/msilbc/default.nix index 5f19fe2d1b25..1e868b79ce66 100644 --- a/pkgs/development/libraries/msilbc/default.nix +++ b/pkgs/development/libraries/msilbc/default.nix @@ -14,4 +14,8 @@ stdenv.mkDerivation rec { buildInputs = [pkgconfig]; configureFlags = "ILBC_LIBS=ilbc ILBC_CFLAGS=-I${ilbc}/include"; + + meta = { + platforms = stdenv.lib.platforms.linux; + }; } diff --git a/pkgs/development/libraries/netcdf/default.nix b/pkgs/development/libraries/netcdf/default.nix index 70426c00237a..06137bdad1fe 100644 --- a/pkgs/development/libraries/netcdf/default.nix +++ b/pkgs/development/libraries/netcdf/default.nix @@ -28,4 +28,8 @@ in stdenv.mkDerivation rec { "--enable-shared" ] ++ (stdenv.lib.optionals mpiSupport [ "--enable-parallel-tests" ]); + + meta = { + platforms = stdenv.lib.platforms.unix; + }; } diff --git a/pkgs/development/libraries/opencl-icd/default.nix b/pkgs/development/libraries/opencl-icd/default.nix index 9f556739ae62..5cf144e198b3 100644 --- a/pkgs/development/libraries/opencl-icd/default.nix +++ b/pkgs/development/libraries/opencl-icd/default.nix @@ -12,4 +12,7 @@ in stdenv.mkDerivation { sha256 = "1rgaixwnxmrq2aq4kcdvs0yx7i6krakarya9vqs7qwsv5hzc32hc"; }; + meta = { + platforms = stdenv.lib.platforms.linux; + }; } diff --git a/pkgs/development/libraries/pangoxsl/default.nix b/pkgs/development/libraries/pangoxsl/default.nix index eeff238fcca4..4a98704559b7 100644 --- a/pkgs/development/libraries/pangoxsl/default.nix +++ b/pkgs/development/libraries/pangoxsl/default.nix @@ -12,4 +12,8 @@ stdenv.mkDerivation { glib pango ]; + + meta = { + platforms = stdenv.lib.platforms.unix; + }; } diff --git a/pkgs/development/libraries/pdf2xml/default.nix b/pkgs/development/libraries/pdf2xml/default.nix index 4ebb0cbcc260..52c785becc52 100644 --- a/pkgs/development/libraries/pdf2xml/default.nix +++ b/pkgs/development/libraries/pdf2xml/default.nix @@ -29,4 +29,8 @@ stdenv.mkDerivation { mkdir -p $out/bin cp exe/* $out/bin ''; + + meta = { + platforms = stdenv.lib.platforms.unix; + }; } diff --git a/pkgs/development/libraries/qrupdate/default.nix b/pkgs/development/libraries/qrupdate/default.nix index 89cf865be258..c8b01c460803 100644 --- a/pkgs/development/libraries/qrupdate/default.nix +++ b/pkgs/development/libraries/qrupdate/default.nix @@ -33,4 +33,8 @@ stdenv.mkDerivation { else "install"; buildInputs = [ gfortran openblas ]; + + meta = { + platforms = stdenv.lib.platforms.unix; + }; } diff --git a/pkgs/development/libraries/qt-3/default.nix b/pkgs/development/libraries/qt-3/default.nix index 3b6d2a3cc699..e7b4b907df99 100644 --- a/pkgs/development/libraries/qt-3/default.nix +++ b/pkgs/development/libraries/qt-3/default.nix @@ -69,4 +69,8 @@ stdenv.mkDerivation { ]; passthru = {inherit mysqlSupport;}; + + meta = { + platforms = stdenv.lib.platforms.linux; + }; } diff --git a/pkgs/development/libraries/sdformat/default.nix b/pkgs/development/libraries/sdformat/default.nix index 0245b47815e5..a81ba17a3f5b 100644 --- a/pkgs/development/libraries/sdformat/default.nix +++ b/pkgs/development/libraries/sdformat/default.nix @@ -20,4 +20,8 @@ stdenv.mkDerivation rec { buildInputs = [ cmake boost ruby ignition.math2 tinyxml ]; + + meta = { + platforms = stdenv.lib.platforms.unix; + }; } diff --git a/pkgs/development/libraries/sofia-sip/default.nix b/pkgs/development/libraries/sofia-sip/default.nix index 950d1302dad1..9fe88b771be7 100644 --- a/pkgs/development/libraries/sofia-sip/default.nix +++ b/pkgs/development/libraries/sofia-sip/default.nix @@ -10,4 +10,8 @@ stdenv.mkDerivation rec { buildInputs = [ glib openssl ]; nativeBuildInputs = [ pkgconfig ]; + + meta = { + platforms = stdenv.lib.platforms.linux; + }; } diff --git a/pkgs/development/libraries/t1lib/default.nix b/pkgs/development/libraries/t1lib/default.nix index e1a626071030..c6f3d68ebd60 100644 --- a/pkgs/development/libraries/t1lib/default.nix +++ b/pkgs/development/libraries/t1lib/default.nix @@ -29,4 +29,7 @@ stdenv.mkDerivation { postInstall = stdenv.lib.optional (!stdenv.isDarwin) "chmod +x $out/lib/*.so.*"; # ?? + meta = { + platforms = stdenv.lib.platforms.unix; + }; } diff --git a/pkgs/development/libraries/taglib-extras/default.nix b/pkgs/development/libraries/taglib-extras/default.nix index 882116bd3f1b..0059243890d6 100644 --- a/pkgs/development/libraries/taglib-extras/default.nix +++ b/pkgs/development/libraries/taglib-extras/default.nix @@ -13,4 +13,8 @@ stdenv.mkDerivation rec { preConfigure = '' sed -i -e 's/STRLESS/VERSION_LESS/g' cmake/modules/FindTaglib.cmake ''; + + meta = { + platforms = stdenv.lib.platforms.unix; + }; } diff --git a/pkgs/development/libraries/telepathy/farstream/default.nix b/pkgs/development/libraries/telepathy/farstream/default.nix index 88eecd0703cc..aed08435a149 100644 --- a/pkgs/development/libraries/telepathy/farstream/default.nix +++ b/pkgs/development/libraries/telepathy/farstream/default.nix @@ -11,4 +11,8 @@ stdenv.mkDerivation rec { propagatedBuildInputs = [ dbus_glib telepathy_glib farstream ]; nativeBuildInputs = [ pkgconfig ]; + + meta = { + platforms = stdenv.lib.platforms.linux; + }; } diff --git a/pkgs/development/libraries/tinyxml-2/default.nix b/pkgs/development/libraries/tinyxml-2/default.nix index 29fa2739f24d..6c77f6a004a1 100644 --- a/pkgs/development/libraries/tinyxml-2/default.nix +++ b/pkgs/development/libraries/tinyxml-2/default.nix @@ -8,4 +8,8 @@ in stdenv.mkDerivation rec { }; nativeBuildInputs = [ cmake ]; + + meta = { + platforms = stdenv.lib.platforms.unix; + }; } diff --git a/pkgs/development/libraries/tre/default.nix b/pkgs/development/libraries/tre/default.nix index 97c02fb03972..5700a7d144e4 100644 --- a/pkgs/development/libraries/tre/default.nix +++ b/pkgs/development/libraries/tre/default.nix @@ -7,4 +7,7 @@ stdenv.mkDerivation rec { sha256 = "1pd7qsa7vc3ybdc6h2gr4pm9inypjysf92kab945gg4qa6jp11my"; }; + meta = { + platforms = stdenv.lib.platforms.unix; + }; } diff --git a/pkgs/development/libraries/xlibs-wrapper/default.nix b/pkgs/development/libraries/xlibs-wrapper/default.nix index ffc58d9ad4b9..049c54d792b4 100644 --- a/pkgs/development/libraries/xlibs-wrapper/default.nix +++ b/pkgs/development/libraries/xlibs-wrapper/default.nix @@ -14,4 +14,8 @@ stdenv.mkDerivation { } // { # For compatability with XFree86. buildClientLibs = true; + + meta = { + platforms = stdenv.lib.platforms.unix; + }; } diff --git a/pkgs/development/mobile/androidenv/androidndk.nix b/pkgs/development/mobile/androidenv/androidndk.nix index 457dbdb8a85a..fd11add80c7b 100644 --- a/pkgs/development/mobile/androidenv/androidndk.nix +++ b/pkgs/development/mobile/androidenv/androidndk.nix @@ -77,4 +77,8 @@ stdenv.mkDerivation rec { wrapProgram "${bin_path}/$i" --prefix PATH : "${runtime_paths}" done ''; + + meta = { + platforms = stdenv.lib.platforms.linux; + }; } diff --git a/pkgs/development/mobile/androidenv/androidsdk.nix b/pkgs/development/mobile/androidenv/androidsdk.nix index 0c09dc809267..86af875fa4d0 100644 --- a/pkgs/development/mobile/androidenv/androidsdk.nix +++ b/pkgs/development/mobile/androidenv/androidsdk.nix @@ -232,4 +232,8 @@ stdenv.mkDerivation rec { ''; buildInputs = [ unzip makeWrapper ]; + + meta = { + platforms = stdenv.lib.platforms.unix; + }; } diff --git a/pkgs/development/python-modules/pyexiv2/default.nix b/pkgs/development/python-modules/pyexiv2/default.nix index d4402ec9ebd5..1bdf61904eb2 100644 --- a/pkgs/development/python-modules/pyexiv2/default.nix +++ b/pkgs/development/python-modules/pyexiv2/default.nix @@ -20,4 +20,8 @@ stdenv.mkDerivation rec { ''; buildInputs = [ python exiv2 scons boost ]; + + meta = { + platforms = stdenv.lib.platforms.linux; + }; } diff --git a/pkgs/development/python-modules/pygtksourceview/default.nix b/pkgs/development/python-modules/pygtksourceview/default.nix index f282d3d36972..48019c62f3ee 100644 --- a/pkgs/development/python-modules/pygtksourceview/default.nix +++ b/pkgs/development/python-modules/pygtksourceview/default.nix @@ -13,4 +13,8 @@ stdenv.mkDerivation { patches = [ ./codegendir.patch ]; buildInputs = [ python pkgconfig pygobject glib pygtk gnome2.gtksourceview ]; + + meta = { + platforms = stdenv.lib.platforms.unix; + }; } diff --git a/pkgs/development/r-modules/wrapper.nix b/pkgs/development/r-modules/wrapper.nix index b4b4c562873c..3b9a9b184506 100644 --- a/pkgs/development/r-modules/wrapper.nix +++ b/pkgs/development/r-modules/wrapper.nix @@ -15,4 +15,8 @@ stdenv.mkDerivation { --prefix "R_LIBS_SITE" ":" "$R_LIBS_SITE" done ''; + + meta = { + platforms = stdenv.lib.platforms.unix; + }; } diff --git a/pkgs/development/tools/build-managers/gnumake/3.80/default.nix b/pkgs/development/tools/build-managers/gnumake/3.80/default.nix index b0926a7f531c..9422a74aedda 100644 --- a/pkgs/development/tools/build-managers/gnumake/3.80/default.nix +++ b/pkgs/development/tools/build-managers/gnumake/3.80/default.nix @@ -7,4 +7,8 @@ stdenv.mkDerivation { md5 = "0bbd1df101bc0294d440471e50feca71"; }; patches = [./log.patch]; + + meta = { + platforms = stdenv.lib.platforms.unix; + }; } diff --git a/pkgs/development/tools/build-managers/gnustep/make/default.nix b/pkgs/development/tools/build-managers/gnustep/make/default.nix index a58273e6086e..5baa37b93a46 100644 --- a/pkgs/development/tools/build-managers/gnustep/make/default.nix +++ b/pkgs/development/tools/build-managers/gnustep/make/default.nix @@ -31,4 +31,8 @@ stdenv.mkDerivation rec { . $out/Library/GNUstep/Makefiles/GNUstep.sh EOF ''; + + meta = { + platforms = stdenv.lib.platforms.unix; + }; } diff --git a/pkgs/development/tools/build-managers/mk/default.nix b/pkgs/development/tools/build-managers/mk/default.nix index 6e40e4653acb..98ddd9d34e9f 100644 --- a/pkgs/development/tools/build-managers/mk/default.nix +++ b/pkgs/development/tools/build-managers/mk/default.nix @@ -7,4 +7,8 @@ stdenv.mkDerivation { md5 = "167fd4e0eea4f49def01984ec203289b"; }; builder = ./builder.sh; + + meta = { + platforms = stdenv.lib.platforms.unix; + }; } diff --git a/pkgs/development/tools/literate-programming/noweb/default.nix b/pkgs/development/tools/literate-programming/noweb/default.nix index 4f8691c40adb..756da8a85393 100644 --- a/pkgs/development/tools/literate-programming/noweb/default.nix +++ b/pkgs/development/tools/literate-programming/noweb/default.nix @@ -22,4 +22,8 @@ stdenv.mkDerivation { done ''; patches = [ ./no-FAQ.patch ]; + + meta = { + platforms = stdenv.lib.platforms.linux; + }; } diff --git a/pkgs/development/tools/misc/sqitch/default.nix b/pkgs/development/tools/misc/sqitch/default.nix index bcdba402b2e0..b7b42b59653a 100644 --- a/pkgs/development/tools/misc/sqitch/default.nix +++ b/pkgs/development/tools/misc/sqitch/default.nix @@ -16,4 +16,8 @@ stdenv.mkDerivation { ''; dontStrip = true; postFixup = "wrapProgram $out/bin/sqitch --prefix PERL5LIB : $PERL5LIB"; + + meta = { + platforms = stdenv.lib.platforms.unix; + }; } diff --git a/pkgs/misc/phabricator/default.nix b/pkgs/misc/phabricator/default.nix index 72551e27fcfb..435cf2e0c9a7 100644 --- a/pkgs/misc/phabricator/default.nix +++ b/pkgs/misc/phabricator/default.nix @@ -25,4 +25,8 @@ stdenv.mkDerivation rec { cp -R ${srcArcanist} $out/arcanist cp -R ${srcPhabricator} $out/phabricator ''; + + meta = { + platforms = stdenv.lib.platforms.unix; + }; } diff --git a/pkgs/os-specific/linux/915resolution/default.nix b/pkgs/os-specific/linux/915resolution/default.nix index cfb71690ad5d..9bcfcf392f40 100644 --- a/pkgs/os-specific/linux/915resolution/default.nix +++ b/pkgs/os-specific/linux/915resolution/default.nix @@ -8,4 +8,8 @@ stdenv.mkDerivation { }; buildPhase = "rm *.o 915resolution; make"; installPhase = "mkdir -p $out/sbin; cp 915resolution $out/sbin/"; + + meta = { + platforms = stdenv.lib.platforms.linux; + }; } diff --git a/pkgs/os-specific/linux/cramfsswap/default.nix b/pkgs/os-specific/linux/cramfsswap/default.nix index 440f99b0ad6f..6f11a3bb7a72 100644 --- a/pkgs/os-specific/linux/cramfsswap/default.nix +++ b/pkgs/os-specific/linux/cramfsswap/default.nix @@ -9,4 +9,8 @@ stdenv.mkDerivation { }; buildInputs = [zlib]; + + meta = { + platforms = stdenv.lib.platforms.linux; + }; } diff --git a/pkgs/os-specific/linux/klibc/default.nix b/pkgs/os-specific/linux/klibc/default.nix index a4c7f644be1d..236f27765f86 100644 --- a/pkgs/os-specific/linux/klibc/default.nix +++ b/pkgs/os-specific/linux/klibc/default.nix @@ -44,4 +44,8 @@ stdenv.mkDerivation rec { ln -sv $file $out/lib/klibc/include done ''; + + meta = { + platforms = stdenv.lib.platforms.linux; + }; } diff --git a/pkgs/os-specific/linux/klibc/shrunk.nix b/pkgs/os-specific/linux/klibc/shrunk.nix index 2ce833d104fd..f01f3b6a4ec3 100644 --- a/pkgs/os-specific/linux/klibc/shrunk.nix +++ b/pkgs/os-specific/linux/klibc/shrunk.nix @@ -21,4 +21,8 @@ stdenv.mkDerivation { done ''; # */ allowedReferences = ["out"]; + + meta = { + platforms = stdenv.lib.platforms.linux; + }; } diff --git a/pkgs/os-specific/linux/libnscd/default.nix b/pkgs/os-specific/linux/libnscd/default.nix index 0911044f2a68..a2dd25206cb1 100644 --- a/pkgs/os-specific/linux/libnscd/default.nix +++ b/pkgs/os-specific/linux/libnscd/default.nix @@ -7,4 +7,8 @@ stdenv.mkDerivation { url = http://ftp.suse.com/pub/people/kukuk/libnscd/libnscd-2.0.2.tar.bz2; sha256 = "0nxhwy42x44jlpdb5xq1prbvfjmds4hplmwv3687z0c4r9rn506l"; }; + + meta = { + platforms = stdenv.lib.platforms.linux; + }; } diff --git a/pkgs/os-specific/linux/libvolume_id/default.nix b/pkgs/os-specific/linux/libvolume_id/default.nix index 0a52df0bee79..c82c892c4627 100644 --- a/pkgs/os-specific/linux/libvolume_id/default.nix +++ b/pkgs/os-specific/linux/libvolume_id/default.nix @@ -17,4 +17,8 @@ stdenv.mkDerivation { rm $out/lib/libvolume_id.so.0 cp -f libvolume_id.so.0 $out/lib/ "; + + meta = { + platforms = stdenv.lib.platforms.linux; + }; } diff --git a/pkgs/os-specific/linux/lsscsi/default.nix b/pkgs/os-specific/linux/lsscsi/default.nix index 03a587cdd3e7..833c032ccd2c 100644 --- a/pkgs/os-specific/linux/lsscsi/default.nix +++ b/pkgs/os-specific/linux/lsscsi/default.nix @@ -13,4 +13,8 @@ stdenv.mkDerivation { preConfigure = '' substituteInPlace Makefile.in --replace /usr "$out" ''; + + meta = { + platforms = stdenv.lib.platforms.linux; + }; } diff --git a/pkgs/os-specific/linux/nss_ldap/default.nix b/pkgs/os-specific/linux/nss_ldap/default.nix index cc0382b58f4e..70cbae88d695 100644 --- a/pkgs/os-specific/linux/nss_ldap/default.nix +++ b/pkgs/os-specific/linux/nss_ldap/default.nix @@ -28,4 +28,8 @@ stdenv.mkDerivation { ''; buildInputs = [ openldap perl ]; + + meta = { + platforms = stdenv.lib.platforms.linux; + }; } diff --git a/pkgs/os-specific/linux/opengl/xorg-sys/default.nix b/pkgs/os-specific/linux/opengl/xorg-sys/default.nix index 807ace86e788..f4043f700306 100644 --- a/pkgs/os-specific/linux/opengl/xorg-sys/default.nix +++ b/pkgs/os-specific/linux/opengl/xorg-sys/default.nix @@ -13,4 +13,8 @@ stdenv.mkDerivation { builder = ./builder.sh; neededLibs = map (p: p.out) [xorg.libXxf86vm xorg.libXext expat libdrm stdenv.cc.cc]; + + meta = { + platforms = stdenv.lib.platforms.linux; + }; } diff --git a/pkgs/os-specific/linux/systemd/libudev.nix b/pkgs/os-specific/linux/systemd/libudev.nix index 60115ddaba5c..a22ff806a0e7 100644 --- a/pkgs/os-specific/linux/systemd/libudev.nix +++ b/pkgs/os-specific/linux/systemd/libudev.nix @@ -15,4 +15,8 @@ stdenv.mkDerivation { --replace "${systemd}" "$out" sed "/^includedir=/cincludedir=$dev/include" -i "$dev"/lib/pkgconfig/*.pc ''; + + meta = { + platforms = stdenv.lib.platforms.linux; + }; } diff --git a/pkgs/os-specific/linux/wireless-tools/default.nix b/pkgs/os-specific/linux/wireless-tools/default.nix index b5f4faadd07a..f5a51a4e096d 100644 --- a/pkgs/os-specific/linux/wireless-tools/default.nix +++ b/pkgs/os-specific/linux/wireless-tools/default.nix @@ -11,4 +11,8 @@ stdenv.mkDerivation { preBuild = " makeFlagsArray=(PREFIX=$out) "; + + meta = { + platforms = stdenv.lib.platforms.linux; + }; } diff --git a/pkgs/servers/fingerd/bsd-fingerd/default.nix b/pkgs/servers/fingerd/bsd-fingerd/default.nix index 2fab0fd9910c..f7f2f93cf99e 100644 --- a/pkgs/servers/fingerd/bsd-fingerd/default.nix +++ b/pkgs/servers/fingerd/bsd-fingerd/default.nix @@ -17,4 +17,8 @@ stdenv.mkDerivation rec { preBuild = "cd fingerd"; preInstall = '' mkdir -p $out/man/man8 $out/sbin ''; + + meta = { + platforms = stdenv.lib.platforms.linux; + }; } diff --git a/pkgs/servers/ftp/vsftpd/default.nix b/pkgs/servers/ftp/vsftpd/default.nix index 17c41a9a4d46..2386acf1b79a 100644 --- a/pkgs/servers/ftp/vsftpd/default.nix +++ b/pkgs/servers/ftp/vsftpd/default.nix @@ -43,4 +43,8 @@ stdenv.mkDerivation rec { mkdir -pv $out/etc/xinetd.d install -v -m 644 xinetd.d/vsftpd $out/etc/xinetd.d/vsftpd ''; + + meta = { + platforms = stdenv.lib.platforms.linux; + }; } diff --git a/pkgs/servers/http/apache-modules/tomcat-connectors/default.nix b/pkgs/servers/http/apache-modules/tomcat-connectors/default.nix index dee2fb3e4ff7..61de807d8e8d 100644 --- a/pkgs/servers/http/apache-modules/tomcat-connectors/default.nix +++ b/pkgs/servers/http/apache-modules/tomcat-connectors/default.nix @@ -18,4 +18,8 @@ stdenv.mkDerivation rec { ''; buildInputs = [ apacheHttpd jdk ]; + + meta = { + platforms = stdenv.lib.platforms.unix; + }; } diff --git a/pkgs/servers/http/jboss/jdbc/mysql/default.nix b/pkgs/servers/http/jboss/jdbc/mysql/default.nix index 8544ce050afd..dbc5c73414cd 100644 --- a/pkgs/servers/http/jboss/jdbc/mysql/default.nix +++ b/pkgs/servers/http/jboss/jdbc/mysql/default.nix @@ -6,4 +6,8 @@ stdenv.mkDerivation { builder = ./builder.sh; inherit mysql_jdbc; + + meta = { + platforms = stdenv.lib.platforms.unix; + }; } diff --git a/pkgs/servers/http/tomcat/jdbc/mysql/default.nix b/pkgs/servers/http/tomcat/jdbc/mysql/default.nix index 975d5234aee9..3562ea1e129d 100644 --- a/pkgs/servers/http/tomcat/jdbc/mysql/default.nix +++ b/pkgs/servers/http/tomcat/jdbc/mysql/default.nix @@ -6,4 +6,8 @@ stdenv.mkDerivation { buildInputs = [ mysql_jdbc ]; inherit mysql_jdbc; + + meta = { + platforms = stdenv.lib.platforms.unix; + }; } diff --git a/pkgs/servers/rt/default.nix b/pkgs/servers/rt/default.nix index 4bb111e18936..deec6589dbb2 100644 --- a/pkgs/servers/rt/default.nix +++ b/pkgs/servers/rt/default.nix @@ -21,4 +21,8 @@ stdenv.mkDerivation rec { cp -a {bin,docs,etc,lib,sbin,share} $out find $out -name '*.in' -exec rm '{}' \; ''; + + meta = { + platforms = stdenv.lib.platforms.unix; + }; } diff --git a/pkgs/servers/sql/mysql/jdbc/default.nix b/pkgs/servers/sql/mysql/jdbc/default.nix index e6c66707c4e2..3fb0c1e86eb4 100644 --- a/pkgs/servers/sql/mysql/jdbc/default.nix +++ b/pkgs/servers/sql/mysql/jdbc/default.nix @@ -10,4 +10,8 @@ stdenv.mkDerivation { }; buildInputs = [ unzip ant ]; + + meta = { + platforms = stdenv.lib.platforms.unix; + }; } diff --git a/pkgs/tools/X11/virtualgl/default.nix b/pkgs/tools/X11/virtualgl/default.nix index e30badd0a85c..b0d017acf84b 100644 --- a/pkgs/tools/X11/virtualgl/default.nix +++ b/pkgs/tools/X11/virtualgl/default.nix @@ -16,4 +16,8 @@ stdenv.mkDerivation { '' + lib.optionalString (virtualglLib_i686 != null) '' ln -sf ${virtualglLib_i686}/bin/.vglrun.vars32 $out/bin ''; + + meta = { + platforms = stdenv.lib.platforms.linux; + }; } diff --git a/pkgs/tools/X11/xmacro/default.nix b/pkgs/tools/X11/xmacro/default.nix index ca010063cb19..758bf1729b17 100644 --- a/pkgs/tools/X11/xmacro/default.nix +++ b/pkgs/tools/X11/xmacro/default.nix @@ -18,4 +18,8 @@ stdenv.mkDerivation { preInstall = "echo -e 'install:\n mkdir \${out}/bin;\n cp xmacrorec xmacrorec2 xmacroplay \${out}/bin;' >>Makefile; "; buildInputs = [ libX11 libXtst xextproto libXi inputproto ]; + + meta = { + platforms = stdenv.lib.platforms.linux; + }; } diff --git a/pkgs/tools/X11/xrestop/default.nix b/pkgs/tools/X11/xrestop/default.nix index 2f18f678483b..2bd6392456ee 100644 --- a/pkgs/tools/X11/xrestop/default.nix +++ b/pkgs/tools/X11/xrestop/default.nix @@ -10,4 +10,8 @@ stdenv.mkDerivation rec { }; buildInputs = [ pkgconfig xorg.libX11 xorg.libXres xorg.libXext ncurses ]; + + meta = { + platforms = stdenv.lib.platforms.unix; + }; } diff --git a/pkgs/tools/filesystems/curlftpfs/default.nix b/pkgs/tools/filesystems/curlftpfs/default.nix index 90832fc50b11..1897181e4448 100644 --- a/pkgs/tools/filesystems/curlftpfs/default.nix +++ b/pkgs/tools/filesystems/curlftpfs/default.nix @@ -7,4 +7,8 @@ stdenv.mkDerivation { sha256 = "0n397hmv21jsr1j7zx3m21i7ryscdhkdsyqpvvns12q7qwwlgd2f"; }; buildInputs = [fuse curl pkgconfig glib zlib]; + + meta = { + platforms = stdenv.lib.platforms.linux; + }; } diff --git a/pkgs/tools/graphics/glxinfo/default.nix b/pkgs/tools/graphics/glxinfo/default.nix index d2c2f30d6fc6..a99e42891b63 100644 --- a/pkgs/tools/graphics/glxinfo/default.nix +++ b/pkgs/tools/graphics/glxinfo/default.nix @@ -24,4 +24,8 @@ stdenv.mkDerivation { mkdir -p $out/bin cp glxinfo glxgears $out/bin/ "; + + meta = { + platforms = stdenv.lib.platforms.linux; + }; } diff --git a/pkgs/tools/graphics/transfig/default.nix b/pkgs/tools/graphics/transfig/default.nix index f540029cbc73..3e8e824d1c65 100644 --- a/pkgs/tools/graphics/transfig/default.nix +++ b/pkgs/tools/graphics/transfig/default.nix @@ -27,4 +27,8 @@ stdenv.mkDerivation rec { gensvgPatch = ./patch-fig2dev-dev-gensvg.c; + + meta = { + platforms = stdenv.lib.platforms.unix; + }; } diff --git a/pkgs/tools/misc/cloud-utils/default.nix b/pkgs/tools/misc/cloud-utils/default.nix index fa03962bcdc4..8bba00b564d9 100644 --- a/pkgs/tools/misc/cloud-utils/default.nix +++ b/pkgs/tools/misc/cloud-utils/default.nix @@ -15,4 +15,8 @@ stdenv.mkDerivation { ''; dontInstall = true; dontPatchShebangs = true; + + meta = { + platforms = stdenv.lib.platforms.unix; + }; } diff --git a/pkgs/tools/misc/dmg2img/default.nix b/pkgs/tools/misc/dmg2img/default.nix index 2030463885c9..9ab9478e5438 100644 --- a/pkgs/tools/misc/dmg2img/default.nix +++ b/pkgs/tools/misc/dmg2img/default.nix @@ -14,4 +14,8 @@ stdenv.mkDerivation rec { mkdir -p $out/bin cp dmg2img $out/bin ''; + + meta = { + platforms = stdenv.lib.platforms.unix; + }; } diff --git a/pkgs/tools/misc/fondu/default.nix b/pkgs/tools/misc/fondu/default.nix index 1f0b42b62b67..516abfd2eb50 100644 --- a/pkgs/tools/misc/fondu/default.nix +++ b/pkgs/tools/misc/fondu/default.nix @@ -8,4 +8,8 @@ stdenv.mkDerivation rec { sha256 = "152prqad9jszjmm4wwqrq83zk13ypsz09n02nrk1gg0fcxfm7fr2"; }; makeFlags = "DESTDIR=$(out)"; + + meta = { + platforms = stdenv.lib.platforms.unix; + }; } diff --git a/pkgs/tools/misc/getopt/default.nix b/pkgs/tools/misc/getopt/default.nix index ed4cde69eda7..8221bec6ccab 100644 --- a/pkgs/tools/misc/getopt/default.nix +++ b/pkgs/tools/misc/getopt/default.nix @@ -10,4 +10,8 @@ stdenv.mkDerivation { preBuild = '' export buildFlags=CC="$CC" # for darwin ''; + + meta = { + platforms = stdenv.lib.platforms.unix; + }; } diff --git a/pkgs/tools/misc/xsel/default.nix b/pkgs/tools/misc/xsel/default.nix index 3fe0f409f29b..b95b95e4379b 100644 --- a/pkgs/tools/misc/xsel/default.nix +++ b/pkgs/tools/misc/xsel/default.nix @@ -8,4 +8,8 @@ stdenv.mkDerivation { }; buildInputs = [xlibsWrapper]; + + meta = { + platforms = stdenv.lib.platforms.unix; + }; } diff --git a/pkgs/tools/misc/xvfb-run/default.nix b/pkgs/tools/misc/xvfb-run/default.nix index b7f8e4b21066..838831faaaf8 100644 --- a/pkgs/tools/misc/xvfb-run/default.nix +++ b/pkgs/tools/misc/xvfb-run/default.nix @@ -20,4 +20,8 @@ stdenv.mkDerivation { --set FONTCONFIG_FILE "${fontsConf}" \ --prefix PATH : ${stdenv.lib.makeBinPath [ getopt xorgserver xauth which utillinux gawk coreutils ]} ''; + + meta = { + platforms = stdenv.lib.platforms.linux; + }; } diff --git a/pkgs/tools/networking/bsd-finger/default.nix b/pkgs/tools/networking/bsd-finger/default.nix index 808c738110e0..25f795d52c2c 100644 --- a/pkgs/tools/networking/bsd-finger/default.nix +++ b/pkgs/tools/networking/bsd-finger/default.nix @@ -17,4 +17,8 @@ stdenv.mkDerivation rec { preBuild = "cd finger"; preInstall = '' mkdir -p $out/man/man1 $out/bin ''; + + meta = { + platforms = stdenv.lib.platforms.linux; + }; } diff --git a/pkgs/tools/networking/openconnect.nix b/pkgs/tools/networking/openconnect.nix index 43e48e9a4cdf..2160bdda9e15 100644 --- a/pkgs/tools/networking/openconnect.nix +++ b/pkgs/tools/networking/openconnect.nix @@ -30,4 +30,8 @@ stdenv.mkDerivation rec { buildInputs = [ pkgconfig ]; propagatedBuildInputs = [ vpnc openssl gnutls libxml2 zlib ]; + + meta = { + platforms = stdenv.lib.platforms.linux; + }; } diff --git a/pkgs/tools/networking/p2p/azureus/default.nix b/pkgs/tools/networking/p2p/azureus/default.nix index 246a32f134c2..4fcfc251f3fa 100644 --- a/pkgs/tools/networking/p2p/azureus/default.nix +++ b/pkgs/tools/networking/p2p/azureus/default.nix @@ -9,4 +9,8 @@ stdenv.mkDerivation { }; # buildInputs = [unzip]; inherit jdk swt; + + meta = { + platforms = stdenv.lib.platforms.linux; + }; } diff --git a/pkgs/tools/networking/ssmtp/default.nix b/pkgs/tools/networking/ssmtp/default.nix index e2e0880114ff..7c47f2762dd6 100644 --- a/pkgs/tools/networking/ssmtp/default.nix +++ b/pkgs/tools/networking/ssmtp/default.nix @@ -26,4 +26,8 @@ stdenv.mkDerivation { installTargets = [ "install" "install-sendmail" ]; buildInputs = stdenv.lib.optional tlsSupport openssl; + + meta = { + platforms = stdenv.lib.platforms.linux; + }; } diff --git a/pkgs/tools/networking/webalizer/default.nix b/pkgs/tools/networking/webalizer/default.nix index 99fde3871290..5d31d35bd634 100644 --- a/pkgs/tools/networking/webalizer/default.nix +++ b/pkgs/tools/networking/webalizer/default.nix @@ -17,4 +17,8 @@ stdenv.mkDerivation { buildInputs = [zlib libpng gd geoip db]; configureFlags = "--enable-dns --enable-geoip --disable-static --enable-shared"; + + meta = { + platforms = stdenv.lib.platforms.unix; + }; } diff --git a/pkgs/tools/networking/weighttp/default.nix b/pkgs/tools/networking/weighttp/default.nix index cc0cc620d27d..069c040f8ee8 100644 --- a/pkgs/tools/networking/weighttp/default.nix +++ b/pkgs/tools/networking/weighttp/default.nix @@ -15,4 +15,8 @@ stdenv.mkDerivation rec { python waf build python waf install ''; + + meta = { + platforms = stdenv.lib.platforms.unix; + }; } diff --git a/pkgs/tools/security/dirmngr/default.nix b/pkgs/tools/security/dirmngr/default.nix index 50eb6750a455..bd94c6786d77 100644 --- a/pkgs/tools/security/dirmngr/default.nix +++ b/pkgs/tools/security/dirmngr/default.nix @@ -7,4 +7,8 @@ stdenv.mkDerivation rec { sha256 = "1zz6m87ca55nq5f59hzm6qs48d37h93il881y7d0rf2d6660na6j"; }; buildInputs = [ libgpgerror libgcrypt libassuan libksba pth openldap ]; + + meta = { + platforms = stdenv.lib.platforms.linux; + }; } diff --git a/pkgs/tools/security/gnupg/1compat.nix b/pkgs/tools/security/gnupg/1compat.nix index d875413cc791..7ff19c212e83 100644 --- a/pkgs/tools/security/gnupg/1compat.nix +++ b/pkgs/tools/security/gnupg/1compat.nix @@ -17,4 +17,8 @@ stdenv.mkDerivation { ${coreutils}/bin/ln -s gpg2 $out/bin/gpg ${coreutils}/bin/ln -s gpgv2 $out/bin/gpgv ''; + + meta = { + platforms = stdenv.lib.platforms.linux; + }; } diff --git a/pkgs/tools/security/mktemp/default.nix b/pkgs/tools/security/mktemp/default.nix index 4017aa4f9f19..8b2a60fd7657 100644 --- a/pkgs/tools/security/mktemp/default.nix +++ b/pkgs/tools/security/mktemp/default.nix @@ -11,4 +11,7 @@ stdenv.mkDerivation { sha256 = "1nfj89b0dv1c2fyqi1pg54fyzs3462cbp7jv7lskqsxvqy4mh9x1"; }; + meta = { + platforms = stdenv.lib.platforms.unix; + }; } diff --git a/pkgs/tools/security/mpw/default.nix b/pkgs/tools/security/mpw/default.nix index a565c3b96e14..813c7e5c06cd 100644 --- a/pkgs/tools/security/mpw/default.nix +++ b/pkgs/tools/security/mpw/default.nix @@ -39,4 +39,8 @@ in stdenv.mkDerivation { mkdir -p $out/bin mv mpw $out/bin/mpw ''; + + meta = { + platforms = stdenv.lib.platforms.unix; + }; } diff --git a/pkgs/tools/text/xml/sablotron/default.nix b/pkgs/tools/text/xml/sablotron/default.nix index a523ebe954c2..aeb07d451bf2 100644 --- a/pkgs/tools/text/xml/sablotron/default.nix +++ b/pkgs/tools/text/xml/sablotron/default.nix @@ -7,4 +7,8 @@ stdenv.mkDerivation { md5 = "72654c4b832e7562f8240ea675577f5e"; }; buildInputs = [expat]; + + meta = { + platforms = stdenv.lib.platforms.unix; + }; } diff --git a/pkgs/tools/typesetting/tex/lkproof/default.nix b/pkgs/tools/typesetting/tex/lkproof/default.nix index 936e4a31af12..844eadc4440d 100644 --- a/pkgs/tools/typesetting/tex/lkproof/default.nix +++ b/pkgs/tools/typesetting/tex/lkproof/default.nix @@ -14,4 +14,8 @@ stdenv.mkDerivation { mkdir -p $out/share/texmf-nix/tex/generic/lkproof cp -prd *.sty $out/share/texmf-nix/tex/generic/lkproof "; + + meta = { + platforms = stdenv.lib.platforms.unix; + }; } diff --git a/pkgs/tools/typesetting/tex/pgfplots/default.nix b/pkgs/tools/typesetting/tex/pgfplots/default.nix index d7c03967b0b4..2fe3daee6991 100644 --- a/pkgs/tools/typesetting/tex/pgfplots/default.nix +++ b/pkgs/tools/typesetting/tex/pgfplots/default.nix @@ -18,4 +18,8 @@ stdenv.mkDerivation { mkdir -p $out/share/texmf-nix cp -prd * $out/share/texmf-nix "; + + meta = { + platforms = stdenv.lib.platforms.unix; + }; } diff --git a/pkgs/tools/typesetting/xmlroff/default.nix b/pkgs/tools/typesetting/xmlroff/default.nix index 5f118e636b8b..7bd34f402504 100644 --- a/pkgs/tools/typesetting/xmlroff/default.nix +++ b/pkgs/tools/typesetting/xmlroff/default.nix @@ -36,4 +36,8 @@ stdenv.mkDerivation rec { sourceRoot = "${name}/xmlroff/"; patches = [./xmlroff.patch]; + + meta = { + platforms = stdenv.lib.platforms.unix; + }; }