Hi pyquest ,
You should use the pythonPackage
version of spyder
by prefixing it with ps
. That version already includes spyder-kernels
in its PATH
. Additionally, you can modify the flake as follows to use the miniconf
(see diff). This time you should activate the envinronment with nix develop
instead of nix shell
.
{
inputs.extrapkg.url = "git+https://git.m-labs.hk/M-Labs/artiq-extrapkg.git";
- outputs = { self, extrapkg }:
+ inputs.miniconf.url = "github:quartiq/miniconf";
+ outputs = { self, extrapkg, miniconf }:
let
pkgs = extrapkg.pkgs;
artiq = extrapkg.packages.x86_64-linux;
in {
# This section defines the new environment
- packages.x86_64-linux.default = pkgs.buildEnv {
+ devShells.x86_64-linux.default = pkgs.mkShell {
name = "artiq-env";
- paths = [
+ packages = [
# ========================================
# ADD PACKAGES BELOW
# ========================================
@@ -22,6 +23,7 @@
# The NixOS package collection contains many other packages that you may find
# interesting. Here are some examples:
+ ps.spyder
#ps.pandas
#ps.numba
#ps.matplotlib
@@ -35,6 +37,7 @@
# ARTIQ and incorporated with an ARTIQ install anyway.
]))
# List desired non-Python packages here
+ miniconf.packages.x86_64-linux.miniconf-mqtt-py
# Additional NDSPs can be included:
#artiq.korad_ka3005p
#artiq.novatech409b