about summary refs log tree commit diff
path: root/run/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'run/default.nix')
-rw-r--r--run/default.nix16
1 files changed, 16 insertions, 0 deletions
diff --git a/run/default.nix b/run/default.nix
new file mode 100644
index 000000000000..113491536ee5
--- /dev/null
+++ b/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
+  ];
+}