Skip to content
Snippets Groups Projects
Verified Commit 59f12deb authored by Jan Beinke's avatar Jan Beinke
Browse files

Add direnv support and fix missing dependencies

parent 721c3400
No related branches found
No related tags found
No related merge requests found
{ pkgs ? import <nixpkgs> {} }:
rec {
latex = pkgs.texlive.combine {
inherit (pkgs.texlive)
collection-basic
collection-fontsextra
collection-fontsrecommended
collection-fontutils
collection-langenglish
collection-langgerman
collection-latex
collection-latexextra
collection-latexrecommended
collection-luatex
collection-mathscience
scheme-medium
;
};
shell = pkgs.mkShell {
buildInputs = with pkgs; [
git
gnumake
latex
];
};
envrc = pkgs.writeText "envrc" ''
PATH_add ${latex}/bin
PATH_add ${pkgs.git}/bin
PATH_add ${pkgs.gnumake}/bin
'';
}
{ pkgs ? import <nixpkgs> {} }:
let
latex = pkgs.texlive.combine {
inherit (pkgs.texlive)
collection-basic
collection-fontsextra
collection-fontsrecommended
collection-fontutils
collection-langenglish
collection-langgerman
collection-latex
collection-latexextra
collection-latexrecommended
collection-luatex
collection-mathscience
scheme-medium
;
};
in pkgs.mkShell {
buildInputs = with pkgs; [
gnumake
latex
];
}
(import ./. {inherit pkgs;}).shell
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment