example-user-env: matplotlib-qt issues

This commit is contained in:
Sebastien Bourdeauducq 2021-01-15 17:48:59 +08:00
parent 45f46f8901
commit 4d99f4884e
1 changed files with 7 additions and 3 deletions

View File

@ -1,4 +1,7 @@
{ pkgs, artiq-full }: { pkgs, artiq-full }:
let
matplotlib-qt = (pkgs.python3Packages.matplotlib.override { enableQt = true; });
in
{ {
artiq-example-user-env = pkgs.runCommand "artiq-example-user-env" { artiq-example-user-env = pkgs.runCommand "artiq-example-user-env" {
buildInputs = [ buildInputs = [
@ -17,10 +20,11 @@
ps.numpy ps.numpy
ps.scipy ps.scipy
ps.numba ps.numba
(ps.matplotlib.override { enableQt = true; })
ps.bokeh ps.bokeh
ps.cirq matplotlib-qt
ps.qiskit (ps.cirq.override { matplotlib = matplotlib-qt; })
# qiskit does not work with matplotlib-qt
#ps.qiskit
])) ]))
artiq-full.openocd artiq-full.openocd