aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--evaluators.nix19
1 files changed, 19 insertions, 0 deletions
diff --git a/evaluators.nix b/evaluators.nix
index e520ff6..8c286e6 100644
--- a/evaluators.nix
+++ b/evaluators.nix
@@ -388,6 +388,25 @@ let
testInput = "putStrLn \"success\"";
};
+ qalculate = prepareJob {
+ name = "qalculate";
+ mem = 100;
+ aliases = [ "qalc" "calc" "cal" "q" ];
+ storeDrives.qalc = [ libqalculate ];
+
+ preCommand = ''
+ mkdir /.config
+ qalc "42 byte to megabyte"
+ '';
+
+ command = ''
+ qalc -terse -file "$1"
+ '';
+
+ testInput = "\"success\"";
+ testOutput = "\"success\"";
+ };
+
listAll = with self; [
ash
sh