From 7c5345f4bc7008d85b033c0f9ac4d60b05c405e3 Mon Sep 17 00:00:00 2001 From: Rodrigo Arias Mallo Date: Tue, 27 Oct 2020 10:49:27 +0100 Subject: [PATCH] report: Idea to reduce build time --- garlic/report.nix | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/garlic/report.nix b/garlic/report.nix index a5c726d..e48b63d 100644 --- a/garlic/report.nix +++ b/garlic/report.nix @@ -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 {