Skip to content

Commit ad1cd6f

Browse files
committed
Add directory of device db to the module search paths when devices are resolved
Signed-off-by: Egor Savkin <[email protected]>
1 parent 366bb0f commit ad1cd6f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

flake.nix

+1-1
Original file line numberDiff line numberDiff line change
@@ -390,7 +390,7 @@
390390
progname=`basename -s .py $program`
391391
outname=$out/bin/$progname
392392
echo "#!${pkgs.bash}/bin/bash" >> $outname
393-
echo "exec python3 -m artiq.frontend.$progname \"\$@\"" >> $outname
393+
echo "PYTHONPATH=`pwd`:$PYTHONPATH exec python3 -m artiq.frontend.$progname \"\$@\"" >> $outname
394394
chmod 755 $outname
395395
fi
396396
done

0 commit comments

Comments
 (0)