3
0
Fork 0
forked from mirrors/nixpkgs

soapysdr: fix cross

This commit is contained in:
Adam Joseph 2023-04-22 12:43:58 -07:00
parent 75ff3a68f1
commit f8005e1487

View file

@ -6,6 +6,7 @@
, ncurses, swig2
, extraPackages ? []
, testers
, buildPackages
}:
let
@ -51,7 +52,7 @@ in stdenv.mkDerivation (finalAttrs: {
postFixup = lib.optionalString (lib.length extraPackages != 0) ''
# Join all plugins via symlinking
for i in ${toString extraPackages}; do
${lndir}/bin/lndir -silent $i $out
${buildPackages.xorg.lndir}/bin/lndir -silent $i $out
done
# Needed for at least the remote plugin server
for file in $out/bin/*; do