flake: add pyqtgraph
This commit is contained in:
parent
a871310cda
commit
ba62a6cd7d
10
flake.nix
10
flake.nix
@ -5,14 +5,20 @@
|
||||
pkgs = artiq.inputs.nixpkgs.legacyPackages.x86_64-linux;
|
||||
aqmain = artiq.packages.x86_64-linux;
|
||||
in {
|
||||
defaultPackage.x86_64-linux = pkgs.buildEnv {
|
||||
devShells.x86_64-linux.default = pkgs.mkShell {
|
||||
name = "aq6140-env";
|
||||
paths = [
|
||||
buildInputs = [
|
||||
(pkgs.python3.withPackages(ps: [
|
||||
aqmain.artiq
|
||||
ps.pyvisa ps.pyvisa-py ps.numpy
|
||||
ps.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}
|
||||
'';
|
||||
};
|
||||
};
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user