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,
pkgs = nixpkgs.legacyPackages.${system}; ...
in }:
{ flake-utils.lib.eachDefaultSystem (system: let
devShells.default = pkgs.mkShell { pkgs = nixpkgs.legacyPackages.${system};
packages = with pkgs; [ in {
julia devShells.default = pkgs.mkShell {
jupyter packages = with pkgs; [
]; julia
}; jupyter
}); ];
JULIA_NUM_THREADS = "auto";
};
});
} }

File diff suppressed because one or more lines are too long