From 2f21e0c8c0b47dcf1b29c38a32838f48bd873c0b Mon Sep 17 00:00:00 2001 From: Profpatsch Date: Sun, 28 Jun 2020 04:52:08 +0200 Subject: refactor(nix): use our own writeScript(Bin) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit We have this nice `runExecline` now, so we don’t need to use `runCommand` (which spawns bash) just to write a simple script. Change-Id: I2941ed8c1448fa1d7cc02dc18b24a8a945b2c38b Reviewed-on: https://cl.tvl.fyi/c/depot/+/704 Tested-by: BuildkiteCI Reviewed-by: tazjin Reviewed-by: BuildkiteCI --- nix/getBins/default.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'nix/getBins/default.nix') diff --git a/nix/getBins/default.nix b/nix/getBins/default.nix index b0c1135fc87a..5ba7584ed844 100644 --- a/nix/getBins/default.nix +++ b/nix/getBins/default.nix @@ -38,7 +38,7 @@ let tests = import ./tests.nix { inherit getBins; - inherit (pkgs) writeScriptBin; + inherit (depot.nix) writeScriptBin; inherit (depot.nix.runTestsuite) assertEq it runTestsuite; }; -- cgit 1.4.1