mirror of
https://github.com/SebastianWendel/nixpkgs.git
synced 2024-09-21 12:59:04 +02:00
gnuradio: fix makeWrapper calls
This commit is contained in:
parent
5f6fe64823
commit
ffd46e9bce
|
@ -53,7 +53,7 @@ stdenv.mkDerivation rec {
|
|||
postInstall = ''
|
||||
printf "backend : Qt4Agg\n" > "$out/share/gnuradio/matplotlibrc"
|
||||
|
||||
for file in "$out"/bin/* "$out"/share/gnuradio/examples/*/*.py; do
|
||||
for file in $(find $out/bin $out/share/gnuradio/examples -type f -executable); do
|
||||
wrapProgram "$file" \
|
||||
--prefix PYTHONPATH : $PYTHONPATH:$(toPythonPath "$out") \
|
||||
--set MATPLOTLIBRC "$out/share/gnuradio"
|
||||
|
|
|
@ -11,7 +11,7 @@ stdenv.mkDerivation {
|
|||
mkdir -p $out/bin
|
||||
ln -s "${gnuradio}"/bin/* $out/bin/
|
||||
|
||||
for file in "$out"/bin/*; do
|
||||
for file in $(find $out/bin -type f -executable); do
|
||||
wrapProgram "$file" \
|
||||
--prefix PYTHONPATH : ${stdenv.lib.concatStringsSep ":"
|
||||
(map (path: "$(toPythonPath ${path})") extraPackages)} \
|
||||
|
|
Loading…
Reference in a new issue