diff options
Diffstat (limited to 'tools/depot-scanner/default.nix')
-rw-r--r-- | tools/depot-scanner/default.nix | 22 |
1 files changed, 12 insertions, 10 deletions
diff --git a/tools/depot-scanner/default.nix b/tools/depot-scanner/default.nix index d18034cff0fd..59b6e53f7097 100644 --- a/tools/depot-scanner/default.nix +++ b/tools/depot-scanner/default.nix @@ -1,16 +1,18 @@ -{ depot, pkgs, ...}: +{ depot, pkgs, ... }: let localProto = depot.nix.buildGo.grpc { name = "code.tvl.fyi/tools/depot-scanner/proto"; proto = ./depot_scanner.proto; }; -in depot.nix.buildGo.program { - name = "depot-scanner"; - srcs = [ - ./main.go - ]; - deps = [ - localProto - ]; -} // { inherit localProto; } +in +depot.nix.buildGo.program + { + name = "depot-scanner"; + srcs = [ + ./main.go + ]; + deps = [ + localProto + ]; + } // { inherit localProto; } |