Merge pull request #147419 from arkivm/fix-gnuradio-ais
gnuradio3_8packages.ais: fix build
commitbcc1eba8086913106ec094994181cd73a1f9a212
authorRobert Scott <code@humanleg.org.uk>
dateFri 26 Nov 2021, 23:01 (5 years ago)
parent25cdc0a22b72c1
pkgs/development/gnuradio-modules/ais/default.nix+8
@@ -12,6 +12,8 @@
1212, mpir
1313, fftwFloat
1414, icu
15+, gnuradio
16+, thrift
1517}:
1618
1719mkDerivation rec {
@@ -31,6 +33,10 @@ mkDerivation rec {
3133 python
3234 ];
3335
36+ cmakeFlags = [
37+ "-DCMAKE_EXE_LINKER_FLAGS=-pthread"
38+ ];
39+
3440 buildInputs = [
3541 cppunit
3642 osmosdr
@@ -40,6 +46,8 @@ mkDerivation rec {
4046 mpir
4147 fftwFloat
4248 icu
49+ thrift
50+ gnuradio.python.pkgs.thrift
4351 ];
4452
4553 meta = with lib; {