From b5abb0950777ba2f4afabf3ace70f4b66b82f017 Mon Sep 17 00:00:00 2001 From: coolneng Date: Thu, 20 Oct 2022 10:29:28 +0200 Subject: [PATCH] Run jupyter automatically in python datasci --- python-data-science.nix | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/python-data-science.nix b/python-data-science.nix index 345cf04..0472ad7 100644 --- a/python-data-science.nix +++ b/python-data-science.nix @@ -1,8 +1,8 @@ -{ config, lib, pkgs, ... }: +{ pkgs ? import { } }: with pkgs; -{ +mkShell { buildInputs = [ python3 python3Packages.jupyter @@ -12,4 +12,8 @@ with pkgs; python3Packages.matplotlib python3Packages.seaborn ]; + + shellHook = '' + jupyter notebook + ''; }