about summary refs log tree commit diff
path: root/nix/buildGo/default.nix
diff options
context:
space:
mode:
authorFlorian Klink <flokli@flokli.de>2024-04-18T18·12+0300
committerflokli <flokli@flokli.de>2024-04-19T12·39+0000
commit10898e65fd7aaff4a4951d903d939885c12d35a2 (patch)
tree4eee883ee18cf6c0a1f8189a0f78946180877217 /nix/buildGo/default.nix
parent82e59f471a9b5d475c39773cdd27a9ada2f35962 (diff)
chore(nix/buildGo): remove unused function r/7959
Spotted by deadnix.

Change-Id: Ia5a9ec86fe7bbfe1b4fa90dc135c000b429df334
Reviewed-on: https://cl.tvl.fyi/c/depot/+/11461
Tested-by: BuildkiteCI
Autosubmit: flokli <flokli@flokli.de>
Reviewed-by: tazjin <tazjin@tvl.su>
Diffstat (limited to 'nix/buildGo/default.nix')
-rw-r--r--nix/buildGo/default.nix2
1 files changed, 0 insertions, 2 deletions
diff --git a/nix/buildGo/default.nix b/nix/buildGo/default.nix
index 9e0a5d6d8753..c93642a127a4 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.