From 09f9e5456b42cec1646c2259ec20518056f4677e Mon Sep 17 00:00:00 2001 From: Markus Kowalewski Date: Sat, 8 Dec 2018 19:37:48 +0100 Subject: [PATCH] gnuradio-with-packages: build gsm and limesdr only on linux This allows to build gnuradio-with-packages again on darwin * libosmocore: remove darwin from platforms * gnuradio-limesdr: remove darwin from platforms --- pkgs/applications/misc/gnuradio/gsm.nix | 2 +- pkgs/applications/misc/gnuradio/limesdr.nix | 2 +- pkgs/applications/misc/libosmocore/default.nix | 2 +- pkgs/top-level/all-packages.nix | 3 ++- 4 files changed, 5 insertions(+), 4 deletions(-) diff --git a/pkgs/applications/misc/gnuradio/gsm.nix b/pkgs/applications/misc/gnuradio/gsm.nix index 6e0856ce66aa..dcb50df70520 100644 --- a/pkgs/applications/misc/gnuradio/gsm.nix +++ b/pkgs/applications/misc/gnuradio/gsm.nix @@ -33,7 +33,7 @@ stdenv.mkDerivation rec { description = "Gnuradio block for gsm"; homepage = https://github.com/ptrkrysik/gr-gsm; license = licenses.gpl3Plus; - platforms = platforms.linux ++ platforms.darwin; + platforms = platforms.linux; maintainers = with maintainers; [ mog ]; }; } diff --git a/pkgs/applications/misc/gnuradio/limesdr.nix b/pkgs/applications/misc/gnuradio/limesdr.nix index 535dbfa3c53d..0a5d4f56d278 100644 --- a/pkgs/applications/misc/gnuradio/limesdr.nix +++ b/pkgs/applications/misc/gnuradio/limesdr.nix @@ -32,7 +32,7 @@ in stdenv.mkDerivation rec { description = "Gnuradio source and sink blocks for LimeSDR"; homepage = https://wiki.myriadrf.org/Gr-limesdr_Plugin_for_GNURadio; license = licenses.mit; - platforms = platforms.linux ++ platforms.darwin; + platforms = platforms.linux; maintainers = [ maintainers.markuskowa ]; }; } diff --git a/pkgs/applications/misc/libosmocore/default.nix b/pkgs/applications/misc/libosmocore/default.nix index 3590166177f2..13e7e4f98011 100644 --- a/pkgs/applications/misc/libosmocore/default.nix +++ b/pkgs/applications/misc/libosmocore/default.nix @@ -31,7 +31,7 @@ stdenv.mkDerivation rec { description = "libosmocore"; homepage = https://github.com/osmocom/libosmocore; license = licenses.gpl2Plus; - platforms = platforms.linux ++ platforms.darwin; + platforms = platforms.linux; maintainers = with maintainers; [ mog ]; }; } diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 159b82b746c6..e372bfaa3dca 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -16848,7 +16848,8 @@ in gnuradio-with-packages = callPackage ../applications/misc/gnuradio/wrapper.nix { inherit (python2Packages) python; - extraPackages = [ gnuradio-nacl gnuradio-osmosdr gnuradio-gsm gnuradio-ais gnuradio-rds gnuradio-limesdr ]; + extraPackages = [ gnuradio-nacl gnuradio-osmosdr gnuradio-ais gnuradio-rds ] + ++ lib.optionals stdenv.isLinux [ gnuradio-gsm gnuradio-limesdr ]; }; gnuradio-nacl = callPackage ../applications/misc/gnuradio/nacl.nix { };