move wayland hack to shell.nix

This commit is contained in:
Sebastien Bourdeauducq 2020-08-10 18:56:28 +08:00
parent c90744322c
commit 08efdf6352
2 changed files with 1 additions and 2 deletions

2
gui.py
View File

@ -7,8 +7,6 @@ import numpy as np
from sipyco import pyon
# env QT_QPA_PLATFORM=wayland python gui.py
class ParentComm:
def __init__(self):
self.c_rfd, self.p_wfd = os.pipe()

View File

@ -42,4 +42,5 @@ in
${pkgs.libbladeRF}/bin/bladeRF-cli -l ${bitstream}
${pkgs.libbladeRF}/bin/bladeRF-cli -e "set biastee rx on"
'';
QT_QPA_PLATFORM = "wayland";
}