From d60b9b10101020ddbab0cb400d16977acedae502 Mon Sep 17 00:00:00 2001 From: betaboon Date: Wed, 19 Dec 2018 23:28:03 +0100 Subject: [PATCH] soapysdr: fix extraPackages support --- pkgs/applications/misc/soapysdr/default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/applications/misc/soapysdr/default.nix b/pkgs/applications/misc/soapysdr/default.nix index 90639fc57056..f14b560bf52c 100644 --- a/pkgs/applications/misc/soapysdr/default.nix +++ b/pkgs/applications/misc/soapysdr/default.nix @@ -19,7 +19,7 @@ in stdenv.mkDerivation { }; nativeBuildInputs = [ cmake pkgconfig ]; - buildInputs = [ libusb ncurses numpy swig2 python ]; + buildInputs = [ libusb ncurses numpy swig2 python makeWrapper ]; cmakeFlags = [ "-DCMAKE_BUILD_TYPE=Release" @@ -33,8 +33,8 @@ in stdenv.mkDerivation { done # Needed for at least the remote plugin server - for file in out/bin/*; do - ${makeWrapper}/bin/wrapProgram "$file" \ + for file in $out/bin/*; do + wrapProgram "$file" \ --prefix SOAPY_SDR_PLUGIN_PATH : ${lib.makeSearchPath "lib/SoapySDR/modules0.6" extraPackages} done '';