forked from rarias/jungle
report: Idea to reduce build time
This commit is contained in:
parent
43991e9173
commit
7c5345f4bc
@ -7,6 +7,11 @@
|
|||||||
, texlive
|
, texlive
|
||||||
}:
|
}:
|
||||||
let
|
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);
|
figJSON = writeText "fig.json" (builtins.toJSON fig);
|
||||||
in
|
in
|
||||||
stdenv.mkDerivation {
|
stdenv.mkDerivation {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user