From 7cef1a4150a799d5a4ca3f1c42d0ac8d55fed1f9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Edward=20Tj=C3=B6rnhammar?= Date: Mon, 28 Sep 2015 08:59:47 +0200 Subject: [PATCH] ihaskell: pass an ipython jupyter environment --- pkgs/top-level/all-packages.nix | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index c28e45c7a7c..4d342f64f85 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -1857,8 +1857,13 @@ let ifuse = callPackage ../tools/filesystems/ifuse/default.nix { }; ihaskell = callPackage ../development/tools/haskell/ihaskell/wrapper.nix { - inherit (pythonPackages) ipython; inherit (haskellPackages) ihaskell ghcWithPackages; + + ipython = buildEnv { + name = "ipython-faux-environment"; + paths = with pythonPackages; [ pythonFull ipykernel notebook ]; + }; + packages = config.ihaskell.packages or (self: []); };