obliczenia_naukowe/flake.nix

31 lines
599 B
Nix
Raw Permalink Normal View History

2024-10-27 21:56:24 +01:00
{
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
];
};
}
);
};
}