From 8bc0dc202dfab62441d73b606bb2699ca5e44f12 Mon Sep 17 00:00:00 2001 From: Rodrigo Arias Mallo Date: Thu, 29 Oct 2020 17:48:57 +0100 Subject: [PATCH] New fetching mechanism with garlic tool --- overlay.nix | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/overlay.nix b/overlay.nix index 610c7e2..575c542 100644 --- a/overlay.nix +++ b/overlay.nix @@ -312,17 +312,17 @@ let hist = callPackage ./garlic/pp/hist { }; + tool = callPackage ./garlic/sh/default.nix { + sshHost = "mn1"; + }; + # Post processing tools - pp = rec { - getExpResult = callPackage ./garlic/pp/result2.nix { - }; - resultFromTrebuchet = trebuchetStage: (getExpResult { - garlicTemp = "/tmp/garlic-temp"; + pp = with self.bsc.garlicTools; rec { + store = callPackage ./garlic/pp/store.nix { }; + resultFromTrebuchet = trebuchetStage: (store { + experimentStage = getExperimentStage trebuchetStage; inherit trebuchetStage; - experimentStage = with self.bsc.garlicTools; - getExperimentStage trebuchetStage; }); - fetchExperiment = callPackage ./garlic/pp/fetch.nix { }; timetable = callPackage ./garlic/pp/timetable.nix { }; rPlot = callPackage ./garlic/pp/rplot.nix { }; timetableFromTrebuchet = tre: timetable (resultFromTrebuchet tre);