about summary refs log tree commit diff
path: root/nix
diff options
context:
space:
mode:
Diffstat (limited to '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.