Compare commits
2 Commits
1a0194144f
...
6fbe501f9a
Author | SHA1 | Date | |
---|---|---|---|
6fbe501f9a | |||
b5abb09507 |
14
flake-template.nix
Normal file
14
flake-template.nix
Normal file
@ -0,0 +1,14 @@
|
||||
{
|
||||
description = "";
|
||||
|
||||
inputs.flake-utils.url = "github:numtide/flake-utils";
|
||||
|
||||
outputs = { self, nixpkgs, flake-utils }:
|
||||
flake-utils.lib.eachDefaultSystem
|
||||
(system:
|
||||
let pkgs = nixpkgs.legacyPackages.${system}; in
|
||||
{
|
||||
devShell = import ./shell.nix { inherit pkgs; };
|
||||
}
|
||||
);
|
||||
}
|
8
nix-ld.nix
Normal file
8
nix-ld.nix
Normal file
@ -0,0 +1,8 @@
|
||||
{ pkgs ? import <nixpkgs> { } }:
|
||||
|
||||
with pkgs;
|
||||
|
||||
mkShell {
|
||||
NIX_LD_LIBRARY_PATH = lib.makeLibraryPath [ stdenv.cc.cc openssl ];
|
||||
NIX_LD = lib.fileContents "${stdenv.cc}/nix-support/dynamic-linker";
|
||||
}
|
@ -1,8 +1,8 @@
|
||||
{ config, lib, pkgs, ... }:
|
||||
{ pkgs ? import <nixpkgs> { } }:
|
||||
|
||||
with pkgs;
|
||||
|
||||
{
|
||||
mkShell {
|
||||
buildInputs = [
|
||||
python3
|
||||
python3Packages.jupyter
|
||||
@ -12,4 +12,8 @@ with pkgs;
|
||||
python3Packages.matplotlib
|
||||
python3Packages.seaborn
|
||||
];
|
||||
|
||||
shellHook = ''
|
||||
jupyter notebook
|
||||
'';
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user