diff --git a/ci-root.nix b/ci-root.nix index c789b35039..6c481f01e0 100644 --- a/ci-root.nix +++ b/ci-root.nix @@ -11,8 +11,8 @@ let ciPackages = prefixAttrs "pkg" depot.nix.pkgs; ciOther = prefixAttrs "other" { - twitterchiver = depot.go.twitterchiver; - twitterchiverDocker = depot.go.twitterchiver.dockerImage; + twitterchiver-archiver = depot.go.twitterchiver.archiver; + twitterchiver-archiver-docker = depot.go.twitterchiver.archiver.dockerImage; }; in pkgs.linkFarm "ci" (ciMachines ++ ciPackages ++ ciOther) diff --git a/go/twitterchiver/default.nix b/go/twitterchiver/default.nix index af1bfe8f69..fae642a4f4 100644 --- a/go/twitterchiver/default.nix +++ b/go/twitterchiver/default.nix @@ -2,11 +2,13 @@ # # SPDX-License-Identifier: Apache-2.0 -{ depot, ... }: depot.third_party.buildGo.program { - name = "twitterchiver"; - srcs = [ ./archiver/archiver.go ]; - deps = [ - depot.third_party.gopkgs."github.com".dghubble.oauth1 - depot.third_party.gopkgs."github.com".jackc.pgx.v4 - ]; +{ depot, ... }: { + archiver = depot.third_party.buildGo.program { + name = "archiver"; + srcs = [ ./archiver/archiver.go ]; + deps = [ + depot.third_party.gopkgs."github.com".dghubble.oauth1 + depot.third_party.gopkgs."github.com".jackc.pgx.v4 + ]; + }; }