From 94acb5b7806ae95b3e3b78de1ea713ae3560a226 Mon Sep 17 00:00:00 2001 From: Matthew Bauer Date: Fri, 7 Apr 2017 21:55:02 -0500 Subject: [PATCH 01/12] yasr: make linux-only --- pkgs/applications/audio/yasr/default.nix | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/pkgs/applications/audio/yasr/default.nix b/pkgs/applications/audio/yasr/default.nix index b700cc0bd83d..1008d3e8e983 100644 --- a/pkgs/applications/audio/yasr/default.nix +++ b/pkgs/applications/audio/yasr/default.nix @@ -2,26 +2,26 @@ stdenv.mkDerivation rec { name = "yasr-${version}"; - + version = "0.6.9"; - + src = fetchurl { url = "https://sourceforge.net/projects/yasr/files/yasr/${version}/${name}.tar.gz"; sha256 = "1prv9r9y6jb5ga5578ldiw507fa414m60xhlvjl29278p3x7rwa1"; }; - + patches = [ ./10_fix_openpty_forkpty_declarations ./20_maxpathlen ./30_conf ./40_dectalk_extended_chars ]; # taken from the debian yasr package - + meta = { homepage = "http://yasr.sourceforge.net"; description = "A general-purpose console screen reader"; longDescription = "Yasr is a general-purpose console screen reader for GNU/Linux and other Unix-like operating systems."; - platforms = stdenv.lib.platforms.unix; + platforms = stdenv.lib.platforms.linux; license = stdenv.lib.licenses.gpl2; maintainers = with stdenv.lib.maintainers; [ jhhuh ]; }; From 04f8199e5b0441a8c6d341afa5f9164077601fcf Mon Sep 17 00:00:00 2001 From: Matthew Bauer Date: Fri, 7 Apr 2017 21:59:41 -0500 Subject: [PATCH 02/12] libx86emu: make linux-only --- pkgs/development/libraries/libx86emu/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/libraries/libx86emu/default.nix b/pkgs/development/libraries/libx86emu/default.nix index a1471766516a..ee32d9418dd9 100644 --- a/pkgs/development/libraries/libx86emu/default.nix +++ b/pkgs/development/libraries/libx86emu/default.nix @@ -17,7 +17,7 @@ stdenv.mkDerivation rec { sed -i 's|/usr/|/|g' Makefile ''; - makeFlags = "shared"; + makeFlags = [ "shared" ]; installPhase = '' make install DESTDIR=$out/ LIBDIR=lib @@ -28,6 +28,6 @@ stdenv.mkDerivation rec { license = licenses.bsd2; homepage = https://github.com/wfeldt/libx86emu; maintainers = with maintainers; [ bobvanderlinden ]; - platforms = platforms.unix; + platforms = platforms.linux; }; } From a1f22aafa252b87fede414ec446d43462a0c0e76 Mon Sep 17 00:00:00 2001 From: Matthew Bauer Date: Fri, 7 Apr 2017 21:59:57 -0500 Subject: [PATCH 03/12] neardal: make linux-only --- pkgs/development/libraries/neardal/default.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/development/libraries/neardal/default.nix b/pkgs/development/libraries/neardal/default.nix index 23bc7f883d43..9f46305c1b54 100644 --- a/pkgs/development/libraries/neardal/default.nix +++ b/pkgs/development/libraries/neardal/default.nix @@ -25,6 +25,6 @@ stdenv.mkDerivation rec { license = licenses.lgpl2; homepage = https://01.org/linux-nfc; maintainers = with maintainers; [ tstrobel ]; - platforms = platforms.unix; + platforms = platforms.linux; }; } From 3f2560cc083ca584e6876150da4cc093f2cef137 Mon Sep 17 00:00:00 2001 From: Matthew Bauer Date: Fri, 7 Apr 2017 22:00:20 -0500 Subject: [PATCH 04/12] xbase: make linux-only --- pkgs/development/libraries/xbase/default.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/development/libraries/xbase/default.nix b/pkgs/development/libraries/xbase/default.nix index 931d40644000..45d7d6f8301c 100644 --- a/pkgs/development/libraries/xbase/default.nix +++ b/pkgs/development/libraries/xbase/default.nix @@ -20,7 +20,7 @@ stdenv.mkDerivation { meta = { homepage = http://linux.techass.com/projects/xdb/; description = "C++ class library formerly known as XDB"; - platforms = stdenv.lib.platforms.all; + platforms = stdenv.lib.platforms.linux; maintainers = [ ]; }; } From 2a2e9b8f2e2acedd5e8d362d5d505e468b321f02 Mon Sep 17 00:00:00 2001 From: Matthew Bauer Date: Fri, 7 Apr 2017 22:00:45 -0500 Subject: [PATCH 05/12] xautolock: make linux-only --- pkgs/misc/screensavers/xautolock/default.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/misc/screensavers/xautolock/default.nix b/pkgs/misc/screensavers/xautolock/default.nix index c65c7ef121cb..02cdcf7b4d1c 100644 --- a/pkgs/misc/screensavers/xautolock/default.nix +++ b/pkgs/misc/screensavers/xautolock/default.nix @@ -22,7 +22,7 @@ stdenv.mkDerivation rec { description = "A program that launches a given program when your X session has been idle for a given time."; homepage = http://www.ibiblio.org/pub/linux/X11/screensavers; maintainers = with maintainers; [ garbas ]; - platforms = platforms.unix; + platforms = platforms.linux; license = licenses.gpl2; }; } From 038550b596c046a66e94916ab5aea8a7cbd2b567 Mon Sep 17 00:00:00 2001 From: Matthew Bauer Date: Fri, 7 Apr 2017 22:01:20 -0500 Subject: [PATCH 06/12] gcsfuse: make linux-only --- pkgs/tools/filesystems/gcsfuse/default.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/tools/filesystems/gcsfuse/default.nix b/pkgs/tools/filesystems/gcsfuse/default.nix index 06190a8f03da..086f0e0f790c 100644 --- a/pkgs/tools/filesystems/gcsfuse/default.nix +++ b/pkgs/tools/filesystems/gcsfuse/default.nix @@ -14,9 +14,9 @@ buildGoPackage rec { sha256 = "1lj9czippsgkhr8y3r7vwxgc8i952v76v1shdv10p43gsxwyyi9a"; }; - # TODO: add metadata https://nixos.org/nixpkgs/manual/#sec-standard-meta-attributes meta = { license = lib.licenses.asl20; + platforms = lib.platforms.linux; maintainers = []; homepage = https://cloud.google.com/storage/docs/gcs-fuse; description = From 4db3b9031495a3b34d76405b35b0e8af7edcd812 Mon Sep 17 00:00:00 2001 From: Matthew Bauer Date: Fri, 7 Apr 2017 22:01:01 -0500 Subject: [PATCH 07/12] rssh: make linux-only --- pkgs/shells/rssh/default.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/shells/rssh/default.nix b/pkgs/shells/rssh/default.nix index f1fb4d03121d..b84f5f26685b 100644 --- a/pkgs/shells/rssh/default.nix +++ b/pkgs/shells/rssh/default.nix @@ -76,7 +76,7 @@ stdenv.mkDerivation rec { ''; homepage = "http://www.pizzashack.org/rssh/"; license = licenses.bsd2; - platforms = platforms.unix; + platforms = platforms.linux; maintainers = with maintainers; [ arobyn ]; }; From c02ab895a106610047249b3eba3be32335b0f98e Mon Sep 17 00:00:00 2001 From: Matthew Bauer Date: Fri, 7 Apr 2017 22:01:39 -0500 Subject: [PATCH 08/12] hwinfo: make linux-only --- pkgs/tools/system/hwinfo/default.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/tools/system/hwinfo/default.nix b/pkgs/tools/system/hwinfo/default.nix index 8dd95a8b4dec..09dfb6e47a57 100644 --- a/pkgs/tools/system/hwinfo/default.nix +++ b/pkgs/tools/system/hwinfo/default.nix @@ -32,6 +32,6 @@ stdenv.mkDerivation rec { license = licenses.gpl2; homepage = https://github.com/openSUSE/hwinfo; maintainers = with maintainers; [ bobvanderlinden ndowens ]; - platforms = platforms.unix; + platforms = platforms.linux; }; } From 525b5dce199ac13abbb6b9b79784ba189fc1a9db Mon Sep 17 00:00:00 2001 From: Matthew Bauer Date: Sun, 9 Apr 2017 01:29:29 -0500 Subject: [PATCH 09/12] tcp-wrappers: linux only --- pkgs/os-specific/linux/tcp-wrappers/default.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/os-specific/linux/tcp-wrappers/default.nix b/pkgs/os-specific/linux/tcp-wrappers/default.nix index 850fbe9f4495..526b1a86db1e 100644 --- a/pkgs/os-specific/linux/tcp-wrappers/default.nix +++ b/pkgs/os-specific/linux/tcp-wrappers/default.nix @@ -57,6 +57,6 @@ in stdenv.mkDerivation rec { homepage = ftp://ftp.porcupine.org/pub/security/index.html; license = "BSD-style"; - platforms = stdenv.lib.platforms.unix; + platforms = stdenv.lib.platforms.linux; }; } From 1df7966d9d164242aafcc0c65d2e6096526a7997 Mon Sep 17 00:00:00 2001 From: Matthew Bauer Date: Sun, 9 Apr 2017 01:29:41 -0500 Subject: [PATCH 10/12] scanmem: linux only --- pkgs/tools/misc/scanmem/default.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/tools/misc/scanmem/default.nix b/pkgs/tools/misc/scanmem/default.nix index 03c1273a7d32..38b313111376 100644 --- a/pkgs/tools/misc/scanmem/default.nix +++ b/pkgs/tools/misc/scanmem/default.nix @@ -21,7 +21,7 @@ stdenv.mkDerivation rec { homepage = "https://github.com/scanmem/scanmem"; description = "Memory scanner for finding and poking addresses in executing processes"; maintainers = [ maintainers.chattered ]; - platforms = with platforms; linux ++ darwin; + platforms = platforms.linux; license = licenses.gpl3; }; } From d8b98c4f7786057518281803637a38e1dcd2919f Mon Sep 17 00:00:00 2001 From: Matthew Bauer Date: Sun, 9 Apr 2017 01:29:52 -0500 Subject: [PATCH 11/12] safecopy: linux only --- pkgs/tools/system/safecopy/default.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/tools/system/safecopy/default.nix b/pkgs/tools/system/safecopy/default.nix index 5e7ec51bf107..ce0779c0999c 100644 --- a/pkgs/tools/system/safecopy/default.nix +++ b/pkgs/tools/system/safecopy/default.nix @@ -24,7 +24,7 @@ stdenv.mkDerivation rec { license = stdenv.lib.licenses.gpl2Plus; - platforms = stdenv.lib.platforms.all; + platforms = stdenv.lib.platforms.linux; maintainers = [ stdenv.lib.maintainers.bluescreen303 ]; }; } From 8df24b78d53da95ef55a1cb6e2caad0bab45f5fc Mon Sep 17 00:00:00 2001 From: Matthew Bauer Date: Sun, 9 Apr 2017 02:11:16 -0500 Subject: [PATCH 12/12] wxGTK28: linux only --- pkgs/development/libraries/wxGTK-2.8/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/libraries/wxGTK-2.8/default.nix b/pkgs/development/libraries/wxGTK-2.8/default.nix index cbfdf876dbaf..e263708c18e9 100644 --- a/pkgs/development/libraries/wxGTK-2.8/default.nix +++ b/pkgs/development/libraries/wxGTK-2.8/default.nix @@ -62,8 +62,8 @@ stdenv.mkDerivation rec { }; enableParallelBuilding = true; - + meta = { - platforms = stdenv.lib.platforms.all; + platforms = stdenv.lib.platforms.linux; }; }