diff --git a/pkgs/applications/radio/sdrangel/default.nix b/pkgs/applications/radio/sdrangel/default.nix index 392088eca95f..0bda52d425e4 100644 --- a/pkgs/applications/radio/sdrangel/default.nix +++ b/pkgs/applications/radio/sdrangel/default.nix @@ -1,4 +1,6 @@ -{ airspy +{ lib +, stdenv +, airspy , airspyhf , aptdec , boost @@ -13,7 +15,6 @@ , glew , hackrf , hidapi -, lib , ffmpeg , libiio , libopus @@ -95,7 +96,7 @@ mkDerivation rec { "-DDAB_LIB=${dab_lib}" "-DLIBSERIALDV_INCLUDE_DIR:PATH=${serialdv}/include/serialdv" "-DLIMESUITE_INCLUDE_DIR:PATH=${limesuite}/include" - "-DLIMESUITE_LIBRARY:FILEPATH=${limesuite}/lib/libLimeSuite.so" + "-DLIMESUITE_LIBRARY:FILEPATH=${limesuite}/lib/libLimeSuite${stdenv.hostPlatform.extensions.sharedLibrary}" "-DSGP4_DIR=${sgp4}" "-DSOAPYSDR_DIR=${soapysdr-with-plugins}" ]; @@ -110,6 +111,6 @@ mkDerivation rec { homepage = "https://github.com/f4exb/sdrangel"; license = licenses.gpl3Plus; maintainers = with maintainers; [ alkeryn ]; - platforms = platforms.linux; + platforms = platforms.unix; }; } diff --git a/pkgs/development/libraries/aptdec/default.nix b/pkgs/development/libraries/aptdec/default.nix index 5f1db6d35593..dce52f7e668c 100644 --- a/pkgs/development/libraries/aptdec/default.nix +++ b/pkgs/development/libraries/aptdec/default.nix @@ -26,6 +26,6 @@ stdenv.mkDerivation { homepage = "https://github.com/Xerbo/aptdec"; license = licenses.gpl2; maintainers = with maintainers; [ alexwinter ]; - platforms = platforms.linux; + platforms = platforms.unix; }; } diff --git a/pkgs/development/libraries/cm256cc/default.nix b/pkgs/development/libraries/cm256cc/default.nix index 3a2538898cce..4b49bcbbcc99 100644 --- a/pkgs/development/libraries/cm256cc/default.nix +++ b/pkgs/development/libraries/cm256cc/default.nix @@ -23,7 +23,7 @@ stdenv.mkDerivation rec { meta = with lib; { description = "Fast GF(256) Cauchy MDS Block Erasure Codec in C++"; homepage = "https://github.com/f4exb/cm256cc"; - platforms = platforms.linux; + platforms = platforms.unix; maintainers = with maintainers; [ alkeryn ]; license = licenses.gpl3; }; diff --git a/pkgs/development/libraries/dab_lib/default.nix b/pkgs/development/libraries/dab_lib/default.nix index 7570d8aaca72..019456b3c5d7 100644 --- a/pkgs/development/libraries/dab_lib/default.nix +++ b/pkgs/development/libraries/dab_lib/default.nix @@ -23,6 +23,6 @@ stdenv.mkDerivation { homepage = "https://github.com/JvanKatwijk/dab-cmdline"; license = licenses.gpl2; maintainers = with maintainers; [ alexwinter ]; - platforms = platforms.linux; + platforms = platforms.unix; }; } diff --git a/pkgs/development/libraries/dsdcc/default.nix b/pkgs/development/libraries/dsdcc/default.nix index a992eac27cb0..3bc8d6c49a8e 100644 --- a/pkgs/development/libraries/dsdcc/default.nix +++ b/pkgs/development/libraries/dsdcc/default.nix @@ -30,6 +30,6 @@ stdenv.mkDerivation rec { homepage = "https://github.com/f4exb/dsdcc"; license = licenses.gpl3; maintainers = with maintainers; [ alexwinter ]; - platforms = platforms.linux; + platforms = platforms.unix; }; } diff --git a/pkgs/development/libraries/qt-5/modules/qtspeech.nix b/pkgs/development/libraries/qt-5/modules/qtspeech.nix index a1ecb48f0d9d..371162324c0b 100644 --- a/pkgs/development/libraries/qt-5/modules/qtspeech.nix +++ b/pkgs/development/libraries/qt-5/modules/qtspeech.nix @@ -1,9 +1,9 @@ -{ qtModule, speechd, pkg-config }: +{ lib, qtModule, stdenv, speechd, pkg-config }: qtModule { pname = "qtspeech"; qtInputs = [ ]; - buildInputs = [ speechd ]; + buildInputs = lib.optionals stdenv.isLinux [ speechd ]; nativeBuildInputs = [ pkg-config ]; outputs = [ "out" "dev" ]; } diff --git a/pkgs/development/libraries/serialdv/default.nix b/pkgs/development/libraries/serialdv/default.nix index d1d9c6299b35..bff7a107eebe 100644 --- a/pkgs/development/libraries/serialdv/default.nix +++ b/pkgs/development/libraries/serialdv/default.nix @@ -16,7 +16,7 @@ stdenv.mkDerivation rec { meta = with lib; { description = "C++ Minimal interface to encode and decode audio with AMBE3000 based devices in packet mode over a serial link"; homepage = "https://github.com/f4exb/serialdv"; - platforms = platforms.linux; + platforms = platforms.unix; maintainers = with maintainers; [ alkeryn ]; license = licenses.gpl3; }; diff --git a/pkgs/development/libraries/sgp4/default.nix b/pkgs/development/libraries/sgp4/default.nix index 98c62f9cd345..166e3c08fd30 100644 --- a/pkgs/development/libraries/sgp4/default.nix +++ b/pkgs/development/libraries/sgp4/default.nix @@ -18,6 +18,6 @@ stdenv.mkDerivation { homepage = "https://github.com/dnwrnr/sgp4"; license = licenses.asl20; maintainers = with maintainers; [ alexwinter ]; - platforms = platforms.linux; + platforms = platforms.unix; }; }