removed jupyter and fixed typos
This commit is contained in:
28
flake.nix
28
flake.nix
@@ -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";
|
||||
};
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user