about summary refs log tree commit diff
path: root/tools/run/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'tools/run/default.nix')
-rw-r--r--tools/run/default.nix16
1 files changed, 16 insertions, 0 deletions
diff --git a/tools/run/default.nix b/tools/run/default.nix
new file mode 100644
index 000000000000..113491536ee5
--- /dev/null
+++ b/tools/run/default.nix
@@ -0,0 +1,16 @@
+{
+  pkgs ? import <nixpkgs> {},
+  depot ? import <depot> {},
+  briefcase ? import <briefcase> {},
+  ...
+}:
+
+depot.buildGo.program {
+  name = "run";
+  srcs = [
+    ./main.go
+  ];
+  deps = with briefcase.gopkgs; [
+    utils
+  ];
+}