From 10898e65fd7aaff4a4951d903d939885c12d35a2 Mon Sep 17 00:00:00 2001 From: Florian Klink Date: Thu, 18 Apr 2024 21:12:37 +0300 Subject: [PATCH] chore(nix/buildGo): remove unused function Spotted by deadnix. Change-Id: Ia5a9ec86fe7bbfe1b4fa90dc135c000b429df334 Reviewed-on: https://cl.tvl.fyi/c/depot/+/11461 Tested-by: BuildkiteCI Autosubmit: flokli Reviewed-by: tazjin --- nix/buildGo/default.nix | 2 -- 1 file changed, 2 deletions(-) diff --git a/nix/buildGo/default.nix b/nix/buildGo/default.nix index 9e0a5d6d8..c93642a12 100644 --- a/nix/buildGo/default.nix +++ b/nix/buildGo/default.nix @@ -42,8 +42,6 @@ let xFlags = x_defs: spaceOut (map (k: "-X ${k}=${x_defs."${k}"}") (attrNames x_defs)); - pathToName = p: replaceStrings [ "/" ] [ "_" ] (toString p); - # Add an `overrideGo` attribute to a function result that works # similar to `overrideAttrs`, but is used specifically for the # arguments passed to Go builders.