fix pyqtgraph on nixos

This commit is contained in:
topquark12 2022-06-01 13:09:01 +08:00 committed by Egor Savkin
parent eac507e6c5
commit 7b8d25f160
1 changed files with 5 additions and 0 deletions

View File

@ -73,6 +73,11 @@
] ++ (with python3Packages; [ ] ++ (with python3Packages; [
numpy matplotlib pyqtgraph numpy matplotlib pyqtgraph
]); ]);
shellHook=
''
export QT_PLUGIN_PATH=${pkgs.qt5.qtbase}/${pkgs.qt5.qtbase.dev.qtPluginPrefix}
export QML2_IMPORT_PATH=${pkgs.qt5.qtbase}/${pkgs.qt5.qtbase.dev.qtQmlPrefix}
'';
}; };
defaultPackage.x86_64-linux = thermostat; defaultPackage.x86_64-linux = thermostat;
}; };