removed jupyter and fixed typos

This commit is contained in:
2026-02-11 14:03:56 +01:00
parent df1bc53624
commit c977599ab0
8 changed files with 11 additions and 636 deletions

View File

@@ -1,20 +1,13 @@
{
description = "Your jupyenv project";
nixConfig.extra-substituters = [
"https://tweag-jupyter.cachix.org"
];
nixConfig.extra-trusted-public-keys = [
"tweag-jupyter.cachix.org-1:UtNH4Zs6hVUFpFBTLaA4ejYavPo5EFFqgd7G7FxGW9g="
];
inputs = {
#treefmt-nix.url = "github:Qubasa/treefmt-nix";
treefmt-nix.url = "github:qubasa/treefmt-nix";
flake-parts.url = "github:hercules-ci/flake-parts";
flake-parts.inputs.nixpkgs-lib.follows = "nixpkgs";
nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable";
jupyenv.url = "github:tweag/jupyenv";
};
outputs =
@@ -27,33 +20,16 @@
];
perSystem =
{
lib,
system,
pkgs,
...
}:
let
inherit (inputs.jupyenv.lib.${system}) mkJupyterlabNew;
jupyterlab = mkJupyterlabNew (
{ ... }:
{
# nixpkgs = nixpkgs;
imports = [ (import ./kernels.nix) ];
}
);
in
{
devShells.default = pkgs.mkShell {
buildInputs = with pkgs; [
python3
];
};
packages = {
inherit jupyterlab;
};
packages.default = jupyterlab;
apps.default.program = "${jupyterlab}/bin/jupyter-lab";
apps.default.type = "app";
};
};
}