[latex] Add old flake
This commit is contained in:
parent
772971cb45
commit
7e7e7797a1
2 changed files with 84 additions and 0 deletions
23
latex/flake.nix
Normal file
23
latex/flake.nix
Normal file
|
@ -0,0 +1,23 @@
|
|||
{
|
||||
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
|
||||
];
|
||||
};
|
||||
}
|
||||
);
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue