diff --git a/third_party/tvl/nix/buildGo/external/default.nix b/third_party/tvl/nix/buildGo/external/default.nix index 59a1109db2..05e8c9d162 100644 --- a/third_party/tvl/nix/buildGo/external/default.nix +++ b/third_party/tvl/nix/buildGo/external/default.nix @@ -109,7 +109,7 @@ let analysisOutput = runCommand "${name}-structure.json" { } '' ${analyser}/bin/analyser -path ${path} -source ${src} -tags "${lib.concatStringsSep " " tags}" ${if cgo then "-cgo" else ""} > $out ''; - analysis = fromJSON (readFile analysisOutput); + analysis = fromJSON (builtins.unsafeDiscardStringContext (readFile analysisOutput)); in lib.fix (self: foldl' lib.recursiveUpdate { } ( map (entry: mkset entry.locator (toPackage self src path depMap entry cgodeps cgocflags cgoldflags)) analysis