From d34c527372e0a6b8dcb0d9796451b987c953a88e Mon Sep 17 00:00:00 2001 From: Vincent Ambo Date: Thu, 25 Mar 2021 20:14:48 +0200 Subject: refactor: Replace some uses of builtins.toFile with pkgs.writeText I'm looking at removing some of these because they can cause unnecessary build steps during CI pipeline generation. Change-Id: I84742968918090c050d2eedab8a1b42692632a42 Reviewed-on: https://cl.tvl.fyi/c/depot/+/2655 Reviewed-by: sterni Tested-by: BuildkiteCI --- ops/besadii/default.nix | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'ops/besadii') diff --git a/ops/besadii/default.nix b/ops/besadii/default.nix index c3e2310b6a71..1199c56cfb94 100644 --- a/ops/besadii/default.nix +++ b/ops/besadii/default.nix @@ -2,9 +2,7 @@ # Buildkite, Sourcegraph reindexing and other maintenance tasks. { depot, ... }: -let - inherit (builtins) toFile toJSON; -in depot.nix.buildGo.program { +depot.nix.buildGo.program { name = "besadii"; srcs = [ ./main.go ]; } -- cgit 1.4.1