Hi All,
I am running the nix package manager on Ubuntu and trying to build a complete flake.nix.
The default
inputs.extrapkg.url = "git+https://git.m-labs.hk/M-Labs/artiq-extrapkg.git";
comes with a broken form of spyder where it cannot find the spyder-kernels and initialize consoles.

While I was here I thought it might make since to try and install miniconf in the flakes as well since I would like to use the stabilizer cards.
My attempt to do this has not been very successful. The miniconf package is not found and the spyder package is not fixed. Any help would be appreciated.
My flake.nix file looks like.
`
{
inputs.extrapkg.url = "git+https://git.m-labs.hk/M-Labs/artiq-extrapkg.git";
inputs.miniconf = { url = github:quartiq/miniconf; flake = true; };
inputs.spyder_ke = { url = github:spyder-ide/spyder-kernels; flake = false; };
outputs = { self, extrapkg,spyder_ke, miniconf}:
let
pkgs = extrapkg.pkgs;
artiq = extrapkg.packages.x86_64-linux;
in {
miniconf = miniconf.defaultPackage;
spyder_ke = spyder_ke.defaultPackage;
defaultPackage.x86_64-linux = pkgs.buildEnv {
name = "artiq-env";
paths = [
# ========================================
# EDIT BELOW
# ========================================
(pkgs.python3.withPackages(ps: [
# List desired Python packages here.
artiq.artiq
#ps.paramiko # needed if and only if flashing boards remotely (artiq_flash -H)
artiq.flake8-artiq
artiq.dax
artiq.dax-applets
# The NixOS package collection contains many other packages that you may find
# interesting. Here are some examples:
ps.pandas
ps.numpy
ps.scipy
#ps.numba
ps.matplotlib
ps.jupyterlab
# or if you need Qt (will recompile):
#(ps.matplotlib.override { enableQt = true; })
#ps.bokeh
#ps.cirq
#ps.qiskit
]))
#artiq.korad_ka3005p
#artiq.novatech409b
# List desired non-Python packages here
artiq.openocd-bscanspi # needed if and only if flashing boards
# Other potentially interesting non-Python packages from the NixOS package collection:
#pkgs.gtkwave
pkgs.spyder
#pkgs.R
#pkgs.julia
# ========================================
# EDIT ABOVE
# ========================================
];
};
};
nixConfig = { # work around https://github.com/NixOS/nix/issues/6771
extra-trusted-public-keys = "nixbld.m-labs.hk-1:5aSRVA5b320xbNvu30tqxVPXpld73bhtOeH6uAjRyHc=";
extra-substituters = "https://nixbld.m-labs.hk";
};
}
`