Skip to content

Commit

Permalink
feat: latex template
Browse files Browse the repository at this point in the history
  • Loading branch information
huuff committed Oct 14, 2024
1 parent 80f35ba commit 44f6117
Show file tree
Hide file tree
Showing 3 changed files with 29 additions and 0 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,3 +15,4 @@ The available ones are:
* `leptos`: everything in `rust`, plus wasm target, cargo-leptos,
leptosfmt, stylance, sass and binaryen.
* `nix`: for nix-only projects, including nil, nixfmt, statix and deadnix.
* `latex`: quite empty for now
5 changes: 5 additions & 0 deletions flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,11 @@
path = ./nix;
description = "Nix-only (or mostly) projects with nil, nixfmt and statix";
};

latex = {
path = ./latex;
description = "For quickly authoring latex docs";
};
};
}
// utils.lib.eachDefaultSystem (
Expand Down
23 changes: 23 additions & 0 deletions latex/flake.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
{

inputs = {
nixpkgs.url = "github:nixos/nixpkgs?ref=nixos-unstable";
systems.url = "github:nix-systems/x86_64-linux";
utils = {
url = "github:numtide/flake-utils";
inputs.systems.follows = "systems";
};
};

outputs = { nixpkgs, utils }:
utils.lib.eachDefaultSystem(system:
let
pkgs = import nixpkgs { inherit system; };
in {

devShell = with pkgs; mkShell {
buildInputs = [texlive.combined.scheme-full];
};
});
}

0 comments on commit 44f6117

Please sign in to comment.