diff options
author | Weijia Wang <9713184+wegank@users.noreply.github.com> | 2022-10-06 19:14:13 +0200 |
---|---|---|
committer | Weijia Wang <9713184+wegank@users.noreply.github.com> | 2022-10-06 19:14:13 +0200 |
commit | 097babd4a1be2c2d56220132c45c8b90e282efd5 (patch) | |
tree | af1a1fb3517229212f729ed0901304a7fef32a26 /pkgs/applications/radio/soapyremote | |
parent | a989aa4619162ff37bcbb8c2fb1e502658647fb2 (diff) |
soapysdr-with-plugins: add darwin support
Diffstat (limited to 'pkgs/applications/radio/soapyremote')
-rw-r--r-- | pkgs/applications/radio/soapyremote/default.nix | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/pkgs/applications/radio/soapyremote/default.nix b/pkgs/applications/radio/soapyremote/default.nix index 1433b1e9abba8..95f429aef43e0 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; }; } |