From f236e28444a496c96d37ee2edb5167bcb4cf3ad2 Mon Sep 17 00:00:00 2001 From: Adrian Kummerlaender Date: Wed, 29 May 2019 20:44:33 +0200 Subject: Add Jupyter to nix-shell --- shell.nix | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/shell.nix b/shell.nix index bbb4b85..6206556 100644 --- a/shell.nix +++ b/shell.nix @@ -21,18 +21,24 @@ pkgs.stdenvNoCC.mkDerivation rec { }; in pkgs.python3.override { inherit packageOverrides; }; - in [ - (custom-python.withPackages (python-packages: with python-packages; [ + local-python = custom-python.withPackages (python-packages: with python-packages; [ numpy pyopencl pyopengl pygobject3 matplotlib - ])) + ]); + + in [ + local-python pkgs.opencl-info pkgs.gobjectIntrospection pkgs.gtk3 + + (pkgs.jupyter.override { + python3 = local-python; + }) ]; shellHook = '' -- cgit v1.2.3