mach-nix/interpreter.nix

10 lines
320 B
Nix
Raw Permalink Normal View History

2020-04-29 17:41:05 +00:00
# python interpreter for dev environment
let
pkgs = import (import ./mach_nix/nix/nixpkgs-src.nix) { config = {}; };
2021-05-23 06:05:16 +00:00
python = pkgs.python38;
deps = (pkgs.lib.attrValues (import ./mach_nix/nix/python-deps.nix { inherit python; fetchurl = pkgs.fetchurl; }));
in
python.withPackages (ps: deps ++ [
ps.jupyterlab
])