Compare commits

..

2 Commits

Author SHA1 Message Date
bf28af51a7 Remove dependency on flake-utils 2025-05-18 17:46:37 +02:00
5fd053f4c4 Revert "Run jupyter automatically in python datasci"
This reverts commit b5abb09507.
2023-04-20 10:13:15 +02:00
2 changed files with 21 additions and 16 deletions

View File

@@ -1,14 +1,23 @@
{
description = "";
inputs.nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable-small";
inputs.flake-utils.url = "github:numtide/flake-utils";
outputs =
{ self, nixpkgs, ... }:
let
system = "x86_64-linux";
in
{
devShells."${system}".default =
let
pkgs = import nixpkgs {
inherit system;
};
in
pkgs.mkShell {
packages = with pkgs; [
];
outputs = { self, nixpkgs, flake-utils }:
flake-utils.lib.eachDefaultSystem
(system:
let pkgs = nixpkgs.legacyPackages.${system}; in
{
devShell = import ./shell.nix { inherit pkgs; };
}
);
shellHook = "";
};
};
}

View File

@@ -1,8 +1,8 @@
{ pkgs ? import <nixpkgs> { } }:
{ config, lib, pkgs, ... }:
with pkgs;
mkShell {
{
buildInputs = [
python3
python3Packages.jupyter
@@ -12,8 +12,4 @@ mkShell {
python3Packages.matplotlib
python3Packages.seaborn
];
shellHook = ''
jupyter notebook
'';
}