This commit is contained in:
Spectre 2024-04-24 10:32:09 +02:00
parent ca2ecb52a6
commit df5f365920
2 changed files with 48 additions and 2222 deletions

View file

@ -3,17 +3,21 @@
inputs.nixpkgs.url = "github:NixOS/nixpkgs/nixos-23.11"; inputs.nixpkgs.url = "github:NixOS/nixpkgs/nixos-23.11";
inputs.flake-utils.url = "github:numtide/flake-utils"; inputs.flake-utils.url = "github:numtide/flake-utils";
outputs = { nixpkgs, flake-utils, ... }: outputs = {
flake-utils.lib.eachDefaultSystem (system: nixpkgs,
let flake-utils,
...
}:
flake-utils.lib.eachDefaultSystem (system: let
pkgs = nixpkgs.legacyPackages.${system}; pkgs = nixpkgs.legacyPackages.${system};
in in {
{
devShells.default = pkgs.mkShell { devShells.default = pkgs.mkShell {
packages = with pkgs; [ packages = with pkgs; [
julia julia
jupyter jupyter
]; ];
JULIA_NUM_THREADS = "auto";
}; };
}); });
} }

File diff suppressed because one or more lines are too long