forked from M-Labs/thermostat
fix pyqtgraph on nixos
This commit is contained in:
parent
446c3ea1d6
commit
8e45e98ee0
|
@ -71,6 +71,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;
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in New Issue