diff options
-rw-r--r-- | nixos/modules/services/web-apps/openwebrx.nix | 2 | ||||
-rw-r--r-- | pkgs/development/libraries/codec2/default.nix | 5 |
2 files changed, 7 insertions, 0 deletions
diff --git a/nixos/modules/services/web-apps/openwebrx.nix b/nixos/modules/services/web-apps/openwebrx.nix index c530a07610f..751884e5811 100644 --- a/nixos/modules/services/web-apps/openwebrx.nix +++ b/nixos/modules/services/web-apps/openwebrx.nix @@ -20,6 +20,8 @@ in path = with pkgs; [ csdr digiham + codec2 + js8call alsaUtils netcat ]; diff --git a/pkgs/development/libraries/codec2/default.nix b/pkgs/development/libraries/codec2/default.nix index 7d271e16f24..b921cb2bbba 100644 --- a/pkgs/development/libraries/codec2/default.nix +++ b/pkgs/development/libraries/codec2/default.nix @@ -13,6 +13,11 @@ stdenv.mkDerivation rec { nativeBuildInputs = [ cmake ]; + # Install a binary that is used by openwebrx + postInstall = '' + install -Dm0755 src/freedv_rx $out/bin/ + ''; + # Swap keyword order to satisfy SWIG parser postFixup = '' sed -r -i 's/(\<_Complex)(\s+)(float|double)/\3\2\1/' $out/include/$pname/freedv_api.h |