about summary refs log tree commit diff
diff options
context:
space:
mode:
authorVincent Ambo <tazjin@google.com>2020-01-01T15·54+0100
committerVincent Ambo <tazjin@google.com>2020-01-01T15·54+0100
commit886cf09b95cddf587d276be1d614314849611580 (patch)
tree2430170af0071c68a80282299d137026f3803558
parent27f5eb5f67263c98e927097f8c4523a79ac6cd1f (diff)
feat(bin): Add link to 'age' tool from third_party.age r/325
-rwxr-xr-xbin/__dispatch.sh6
l---------bin/age1
l---------bin/age-keygen1
-rw-r--r--third_party/default.nix1
4 files changed, 9 insertions, 0 deletions
diff --git a/bin/__dispatch.sh b/bin/__dispatch.sh
index ffb4605fd4a8..d9c2e7ee35c3 100755
--- a/bin/__dispatch.sh
+++ b/bin/__dispatch.sh
@@ -32,6 +32,12 @@ case "${TARGET_TOOL}" in
   rink)
     attr="third_party.rink"
     ;;
+  age)
+    attr="third_party.age"
+    ;;
+  age-keygen)
+    attr="third_party.age"
+    ;;
   *)
     echo "The tool '${TARGET_TOOL}' is currently not installed in this repository."
     exit 1
diff --git a/bin/age b/bin/age
new file mode 120000
index 000000000000..8390ec9c9652
--- /dev/null
+++ b/bin/age
@@ -0,0 +1 @@
+__dispatch.sh
\ No newline at end of file
diff --git a/bin/age-keygen b/bin/age-keygen
new file mode 120000
index 000000000000..8390ec9c9652
--- /dev/null
+++ b/bin/age-keygen
@@ -0,0 +1 @@
+__dispatch.sh
\ No newline at end of file
diff --git a/third_party/default.nix b/third_party/default.nix
index 808a399641a8..49542ff750a5 100644
--- a/third_party/default.nix
+++ b/third_party/default.nix
@@ -19,6 +19,7 @@ let
     # Inherit the packages from nixpkgs that should be available inside
     # of the repo. They become available under `pkgs.third_party.<name>`
     inherit (nixpkgs)
+      age
       bashInteractive
       bat
       buildGoPackage