about summary refs log tree commit diff
path: root/example/default.nix
diff options
context:
space:
mode:
authorVincent Ambo <tazjin@google.com>2019-11-24T20·41+0000
committerVincent Ambo <tazjin@google.com>2019-11-24T20·41+0000
commit473421dbb81fedbec7f1f6e788c813b5fe9f4604 (patch)
tree0d91784067fcd75cdae074276c9b744a48219360 /example/default.nix
parent0fd74669229415907353563b3dbc2847d8a80942 (diff)
feat(example): Demonstrate usage of x_defs flag to buildGo.program
Diffstat (limited to 'example/default.nix')
-rw-r--r--example/default.nix4
1 files changed, 4 insertions, 0 deletions
diff --git a/example/default.nix b/example/default.nix
index 407f55079359..5abed1fbbcb5 100644
--- a/example/default.nix
+++ b/example/default.nix
@@ -40,4 +40,8 @@ in buildGo.program {
     examplePackage
     exampleProto
   ];
+
+  x_defs = {
+    "main.Flag" = "successfully";
+  };
 }