about summary refs log tree commit diff stats
path: root/flake.nix
diff options
context:
space:
mode:
Diffstat (limited to 'flake.nix')
-rw-r--r--flake.nix12
1 files changed, 12 insertions, 0 deletions
diff --git a/flake.nix b/flake.nix
index 865d7d2..f1ecebb 100644
--- a/flake.nix
+++ b/flake.nix
@@ -352,6 +352,18 @@
 				};
 			};
 
+			benchmark-focaccia = {
+				type = "app";
+				program = let
+					wrapper = pkgs.writeShellScriptBin "benchmark-focaccia" ''
+						exec ${packages.focaccia}/bin/benchmark-focaccia --gdb "${gdbInternal}/bin/gdb" "$@"
+					'';
+				in "${wrapper}/bin/benchmark-focaccia";
+				meta = {
+					description = "Benchmark focaccia";
+				};
+			};
+
 			# Useful for synchronize the uv lockfile
 			uv-sync = {
 				type = "app";