forked from rarias/jungle
report: Idea to reduce build time
This commit is contained in:
parent
43991e9173
commit
7c5345f4bc
@ -7,6 +7,11 @@
|
||||
, texlive
|
||||
}:
|
||||
let
|
||||
# TODO: We can select only which elements we need from fig by using:
|
||||
# echo [ $(grep -o '@[^ @]*@' garlic/report.tex | sed 's/@//g') ]
|
||||
# and them importing as valid nix lang.
|
||||
|
||||
# By now, we require all plots
|
||||
figJSON = writeText "fig.json" (builtins.toJSON fig);
|
||||
in
|
||||
stdenv.mkDerivation {
|
||||
|
Loading…
x
Reference in New Issue
Block a user