flake: format
This commit is contained in:
parent
dba1b76711
commit
9bbd788668
42
flake.nix
42
flake.nix
@ -47,7 +47,8 @@
|
||||
rm -r "$out"
|
||||
'';
|
||||
|
||||
buildLatex = with final; with pkgs;
|
||||
buildLatex = with final;
|
||||
with pkgs;
|
||||
stdenv.mkDerivation {
|
||||
inherit pname version;
|
||||
|
||||
@ -62,16 +63,8 @@
|
||||
multirow
|
||||
hyperref
|
||||
blindtext
|
||||
# fancyhdr
|
||||
|
||||
etoolbox
|
||||
topiclongtable
|
||||
# lstfiracode
|
||||
|
||||
# fontspec
|
||||
# extrafonts
|
||||
# recommendedfonts
|
||||
|
||||
;
|
||||
})
|
||||
gnumake
|
||||
@ -118,6 +111,22 @@
|
||||
overlays = [self.overlays.default];
|
||||
};
|
||||
|
||||
nativeBuildInputs = with pkgs; [
|
||||
(texlive.combine {
|
||||
inherit
|
||||
(texlive)
|
||||
scheme-medium
|
||||
authblk
|
||||
multirow
|
||||
hyperref
|
||||
blindtext
|
||||
etoolbox
|
||||
topiclongtable
|
||||
;
|
||||
})
|
||||
gnumake
|
||||
];
|
||||
|
||||
watcher = pkgs.writeShellScriptBin "watcher" ''
|
||||
out=".latexmkout"
|
||||
mkdir "$out"
|
||||
@ -136,6 +145,21 @@
|
||||
echo " -- in ${pname} dev shell..."
|
||||
'';
|
||||
|
||||
nativeBuildInputs = with pkgs; [
|
||||
(texlive.combine {
|
||||
inherit
|
||||
(texlive)
|
||||
scheme-full
|
||||
multirow
|
||||
hyperref
|
||||
blindtext
|
||||
etoolbox
|
||||
topiclongtable
|
||||
;
|
||||
})
|
||||
gnumake
|
||||
];
|
||||
|
||||
packages = with nixpkgsFor.${system}; [
|
||||
watcher
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user