Merge pull request #52546 from betaboon/patch-2
soapysdr: fix extraPackages support
This commit is contained in:
commit
88d52d89e2
1 changed files with 3 additions and 3 deletions
|
@ -19,7 +19,7 @@ in stdenv.mkDerivation {
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [ cmake pkgconfig ];
|
nativeBuildInputs = [ cmake pkgconfig ];
|
||||||
buildInputs = [ libusb ncurses numpy swig2 python ];
|
buildInputs = [ libusb ncurses numpy swig2 python makeWrapper ];
|
||||||
|
|
||||||
cmakeFlags = [
|
cmakeFlags = [
|
||||||
"-DCMAKE_BUILD_TYPE=Release"
|
"-DCMAKE_BUILD_TYPE=Release"
|
||||||
|
@ -33,8 +33,8 @@ in stdenv.mkDerivation {
|
||||||
done
|
done
|
||||||
|
|
||||||
# Needed for at least the remote plugin server
|
# Needed for at least the remote plugin server
|
||||||
for file in out/bin/*; do
|
for file in $out/bin/*; do
|
||||||
${makeWrapper}/bin/wrapProgram "$file" \
|
wrapProgram "$file" \
|
||||||
--prefix SOAPY_SDR_PLUGIN_PATH : ${lib.makeSearchPath "lib/SoapySDR/modules0.6" extraPackages}
|
--prefix SOAPY_SDR_PLUGIN_PATH : ${lib.makeSearchPath "lib/SoapySDR/modules0.6" extraPackages}
|
||||||
done
|
done
|
||||||
'';
|
'';
|
||||||
|
|
Loading…
Reference in a new issue