24 lines
522 B
Nix
24 lines
522 B
Nix
|
{
|
||
|
description = "LaTeX Flake";
|
||
|
|
||
|
inputs.nixpkgs.url = "github:NixOS/nixpkgs/nixpkgs-unstable";
|
||
|
inputs.flake-utils.url = "github:numtide/flake-utils";
|
||
|
|
||
|
outputs = { self, nixpkgs, flake-utils}:
|
||
|
flake-utils.lib.eachDefaultSystem
|
||
|
(system:
|
||
|
let
|
||
|
pkgs = import nixpkgs {
|
||
|
inherit system;
|
||
|
};
|
||
|
in {
|
||
|
devShells.default = pkgs.mkShell {
|
||
|
packages = with pkgs; [
|
||
|
texlive.combined.scheme-small
|
||
|
pgfplots
|
||
|
];
|
||
|
};
|
||
|
}
|
||
|
);
|
||
|
}
|