move wayland hack to shell.nix
This commit is contained in:
parent
c90744322c
commit
08efdf6352
2
gui.py
2
gui.py
|
@ -7,8 +7,6 @@ import numpy as np
|
||||||
from sipyco import pyon
|
from sipyco import pyon
|
||||||
|
|
||||||
|
|
||||||
# env QT_QPA_PLATFORM=wayland python gui.py
|
|
||||||
|
|
||||||
class ParentComm:
|
class ParentComm:
|
||||||
def __init__(self):
|
def __init__(self):
|
||||||
self.c_rfd, self.p_wfd = os.pipe()
|
self.c_rfd, self.p_wfd = os.pipe()
|
||||||
|
|
|
@ -42,4 +42,5 @@ in
|
||||||
${pkgs.libbladeRF}/bin/bladeRF-cli -l ${bitstream}
|
${pkgs.libbladeRF}/bin/bladeRF-cli -l ${bitstream}
|
||||||
${pkgs.libbladeRF}/bin/bladeRF-cli -e "set biastee rx on"
|
${pkgs.libbladeRF}/bin/bladeRF-cli -e "set biastee rx on"
|
||||||
'';
|
'';
|
||||||
|
QT_QPA_PLATFORM = "wayland";
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue