about summary refs log tree commit diff
path: root/ops
diff options
context:
space:
mode:
authorVincent Ambo <mail@tazj.in>2021-03-25T18·14+0200
committertazjin <mail@tazj.in>2021-03-25T19·14+0000
commitd34c527372e0a6b8dcb0d9796451b987c953a88e (patch)
treebe88657a95ddac7ed5d9f0978f00712c8f675238 /ops
parentd01d6bb63db9da000dd1b3c8491a6c0d43877c29 (diff)
refactor: Replace some uses of builtins.toFile with pkgs.writeText r/2329
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 <sternenseemann@systemli.org>
Tested-by: BuildkiteCI
Diffstat (limited to 'ops')
-rw-r--r--ops/besadii/default.nix4
1 files changed, 1 insertions, 3 deletions
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 ];
 }