summaryrefslogtreecommitdiffstats
path: root/pkgs/applications/radio/soapyremote
diff options
context:
space:
mode:
authorWeijia Wang <9713184+wegank@users.noreply.github.com>2022-10-06 19:14:13 +0200
committerWeijia Wang <9713184+wegank@users.noreply.github.com>2022-10-06 19:14:13 +0200
commit097babd4a1be2c2d56220132c45c8b90e282efd5 (patch)
treeaf1a1fb3517229212f729ed0901304a7fef32a26 /pkgs/applications/radio/soapyremote
parenta989aa4619162ff37bcbb8c2fb1e502658647fb2 (diff)
soapysdr-with-plugins: add darwin support
Diffstat (limited to 'pkgs/applications/radio/soapyremote')
-rw-r--r--pkgs/applications/radio/soapyremote/default.nix4
1 files changed, 3 insertions, 1 deletions
diff --git a/pkgs/applications/radio/soapyremote/default.nix b/pkgs/applications/radio/soapyremote/default.nix
index 1433b1e9abba..95f429aef43e 100644
--- a/pkgs/applications/radio/soapyremote/default.nix
+++ b/pkgs/applications/radio/soapyremote/default.nix
@@ -19,11 +19,13 @@ in stdenv.mkDerivation {
cmakeFlags = [ "-DSoapySDR_DIR=${soapysdr}/share/cmake/SoapySDR/" ];
+ NIX_CFLAGS_COMPILE = lib.optionals stdenv.isDarwin [ "-include sys/select.h" ];
+
meta = with lib; {
homepage = "https://github.com/pothosware/SoapyRemote";
description = "SoapySDR plugin for remote access to SDRs";
license = licenses.boost;
maintainers = with maintainers; [ markuskowa ];
- platforms = platforms.linux;
+ platforms = platforms.unix;
};
}