summary refs log tree commit diff
path: root/pkgs/development/libraries/codec2
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/development/libraries/codec2')
-rw-r--r--pkgs/development/libraries/codec2/default.nix5
1 files changed, 5 insertions, 0 deletions
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