aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdrian Kummerlaender2019-05-29 20:44:33 +0200
committerAdrian Kummerlaender2019-05-29 20:44:33 +0200
commitf236e28444a496c96d37ee2edb5167bcb4cf3ad2 (patch)
tree8bb367fbc7fee513cdde23f0055f387f4d593194
parent564606b8b64d9c406986ee2ca3dcdf4ea58b68f0 (diff)
downloadsymlbm_playground-f236e28444a496c96d37ee2edb5167bcb4cf3ad2.tar
symlbm_playground-f236e28444a496c96d37ee2edb5167bcb4cf3ad2.tar.gz
symlbm_playground-f236e28444a496c96d37ee2edb5167bcb4cf3ad2.tar.bz2
symlbm_playground-f236e28444a496c96d37ee2edb5167bcb4cf3ad2.tar.lz
symlbm_playground-f236e28444a496c96d37ee2edb5167bcb4cf3ad2.tar.xz
symlbm_playground-f236e28444a496c96d37ee2edb5167bcb4cf3ad2.tar.zst
symlbm_playground-f236e28444a496c96d37ee2edb5167bcb4cf3ad2.zip
Add Jupyter to nix-shell
-rw-r--r--shell.nix12
1 files 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 = ''