{ description = '' Sagemath flake You'll want to run the flake with the following command: $ sage --nodotsage -n=jupyterlab --notebook-dir /path/to/notebooks For example: $ sage --nodotsage -n=jupyterlab --notebook-dir . ''; inputs.nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable"; inputs.flake-utils.url = "github:numtide/flake-utils"; outputs = { self, nixpkgs, flake-utils}: flake-utils.lib.eachDefaultSystem (system: let pkgs = import nixpkgs { inherit system; }; in { devShells.default = pkgs.mkShell { buildInputs = with pkgs; [ sageWithDoc ]; }; } ); }