ma/experiments/shell.nix
Paul Brinkmeier 251ae05fd7 Add ELM notebook
Currently buggy, there seems to be a mix-up in the ordering of x and y coordinates somewhere.

This probably stems from the use of row+column ordering.
2023-06-17 04:43:43 +02:00

16 lines
391 B
Nix

let
pkgs = import <nixpkgs> {};
in
pkgs.stdenv.mkDerivation {
name = "jupyter-shell";
buildInputs = [
(pkgs.python3.withPackages (p: [p.virtualenv]))
];
# In order to run jupyter-lab from pypi, we need to provide it
# with libdstc++.so.6.
shellHook = ''
export LD_LIBRARY_PATH="${pkgs.stdenv.cc.cc.lib}/lib"
source venv/bin/activate
'';
}