From 886cf09b95cddf587d276be1d614314849611580 Mon Sep 17 00:00:00 2001 From: Vincent Ambo Date: Wed, 1 Jan 2020 16:54:07 +0100 Subject: [PATCH] feat(bin): Add link to 'age' tool from third_party.age --- bin/__dispatch.sh | 6 ++++++ bin/age | 1 + bin/age-keygen | 1 + third_party/default.nix | 1 + 4 files changed, 9 insertions(+) create mode 120000 bin/age create mode 120000 bin/age-keygen diff --git a/bin/__dispatch.sh b/bin/__dispatch.sh index ffb4605fd..d9c2e7ee3 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 000000000..8390ec9c9 --- /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 000000000..8390ec9c9 --- /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 808a39964..49542ff75 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.` inherit (nixpkgs) + age bashInteractive bat buildGoPackage