1
0
Fork 0

flake: format

This commit is contained in:
leo 2023-01-27 01:33:43 +01:00
parent dba1b76711
commit 9bbd788668
Signed by: wanderer
SSH Key Fingerprint: SHA256:Dp8+iwKHSlrMEHzE3bJnPng70I7LEsa3IJXRH/U+idQ

View File

@ -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