30 lines
599 B
Nix
30 lines
599 B
Nix
{
|
|
description = "on";
|
|
|
|
inputs = {
|
|
nixpkgs.url = "github:NixOS/nixpkgs/nixpkgs-unstable";
|
|
systems.url = "github:nix-systems/default";
|
|
};
|
|
|
|
outputs = { nixpkgs, systems, ... }: let
|
|
name = "on";
|
|
|
|
forEachSystem = nixpkgs.lib.genAttrs (import systems);
|
|
pkgsForEach = nixpkgs.legacyPackages;
|
|
in {
|
|
devShells = forEachSystem (
|
|
system: let
|
|
pkgs = pkgsForEach.${system};
|
|
in {
|
|
default = pkgs.mkShell {
|
|
inherit name;
|
|
|
|
packages = with pkgs; [
|
|
julia
|
|
texliveFull
|
|
];
|
|
};
|
|
}
|
|
);
|
|
};
|
|
}
|