obliczenia_naukowe/flake.nix
2024-10-27 21:56:24 +01:00

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
];
};
}
);
};
}