diff options
| author | Franck Cuny <franck@fcuny.net> | 2022-08-06 12:50:56 -0700 |
|---|---|---|
| committer | Franck Cuny <franck@fcuny.net> | 2022-08-06 13:01:23 -0700 |
| commit | 1db8ba6f4b4b6120702845027604d5da598a991e (patch) | |
| tree | 53f26407de4e241e42de8a15dc5f6a72038b70ee /tools/dnsupdate/default.nix | |
| parent | ref(ci): delete custom scripts for formatting (diff) | |
| download | infra-1db8ba6f4b4b6120702845027604d5da598a991e.tar.gz | |
ref(tools): simplify the import of tools
In the `mkSystem` function, instead of defining each tools, let's import
all of them at once. This works both with installing a tool from a
module or running them from the CLI.
Change-Id: Ia44ff9a45b54a1ecea6f6b02b4cad2956799f627
Reviewed-on: https://cl.fcuny.net/c/world/+/682
Tested-by: CI
Reviewed-by: Franck Cuny <franck@fcuny.net>
Diffstat (limited to 'tools/dnsupdate/default.nix')
| -rw-r--r-- | tools/dnsupdate/default.nix | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/dnsupdate/default.nix b/tools/dnsupdate/default.nix index b8201c0..85f0285 100644 --- a/tools/dnsupdate/default.nix +++ b/tools/dnsupdate/default.nix @@ -1,6 +1,6 @@ -{ pkgs, ... }: +{ pkgs, buildGoModule, ... }: -pkgs.buildGoModule rec { +buildGoModule rec { name = "dnsupdate"; src = ./.; vendorSha256 = "sha256-DQ/kYC/EZpcOKk0Y+DvwJtAPZpamxvEl7gKk8uEB2Ls="; |
