Skip to content

Commit

Permalink
treewide: restrict pkgs that don't build on macOS to linux
Browse files Browse the repository at this point in the history
  • Loading branch information
mrene committed Aug 14, 2024
1 parent 672b662 commit a902546
Show file tree
Hide file tree
Showing 6 changed files with 14 additions and 5 deletions.
2 changes: 1 addition & 1 deletion pkgs/gnuradio-modules/gr-fhss_utils/package.nix
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,6 @@ stdenv.mkDerivation rec {
license = licenses.gpl3Only;
maintainers = with maintainers; [ ];
mainProgram = "gr-fhss-utils";
platforms = platforms.all;
platforms = platforms.linux;
};
}
5 changes: 4 additions & 1 deletion pkgs/gnuradio-modules/gr-fosphor/package.nix
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
, libX11
, qt5
, libsForQt5
, darwin
}:

stdenv.mkDerivation rec {
Expand Down Expand Up @@ -49,6 +50,8 @@ stdenv.mkDerivation rec {
freetype
libX11
qt5.qtbase
] ++ lib.optionals stdenv.isDarwin [
darwin.apple_sdk.frameworks.OpenCL
];

dontWrapQtApps = true;
Expand All @@ -60,6 +63,6 @@ stdenv.mkDerivation rec {
license = licenses.gpl3Only;
maintainers = with maintainers; [ ];
mainProgram = "gr-fosphor";
platforms = platforms.all;
platforms = platforms.linux; # TODO: Fix darwin build
};
}
6 changes: 5 additions & 1 deletion pkgs/gnuradio-modules/gr-sandia_utils/package.nix
Original file line number Diff line number Diff line change
Expand Up @@ -45,12 +45,16 @@ stdenv.mkDerivation rec {
gr-pdu_utils
];

cmakeFlags = [
(lib.cmakeFeature "CMAKE_CXX_STANDARD" "14")
];

meta = with lib; {
description = "Misc blocks";
homepage = "https://github.com/sandialabs/gr-sandia_utils";
license = licenses.gpl3Only;
maintainers = with maintainers; [ ];
mainProgram = "gr-sandia-utils";
platforms = platforms.all;
platforms = platforms.linux;
};
}
2 changes: 1 addition & 1 deletion pkgs/gnuradio-modules/gr-smart_meters/package.nix
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,6 @@ stdenv.mkDerivation rec {
license = licenses.gpl3Only;
maintainers = with maintainers; [ ];
mainProgram = "gr-smart-meters";
platforms = platforms.all;
platforms = platforms.linux;
};
}
2 changes: 1 addition & 1 deletion pkgs/gnuradio-modules/gr-timing_utils/package.nix
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,6 @@ stdenv.mkDerivation rec {
license = licenses.gpl3Only;
maintainers = with maintainers; [ ];
mainProgram = "gr-timing-utils";
platforms = platforms.all;
platforms = platforms.linux;
};
}
2 changes: 2 additions & 0 deletions pkgs/trunk-recorder/package.nix
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
, volk
, openssl
, curl
, mpir
}:

stdenv.mkDerivation rec {
Expand Down Expand Up @@ -49,6 +50,7 @@ stdenv.mkDerivation rec {
volk
openssl
curl
mpir
];


Expand Down

0 comments on commit a902546

Please sign in to comment.