3p/tvl/nix/buildGo: drop context to fix newer Nix
This commit is contained in:
parent
520d8649f1
commit
a6906cd1a6
1 changed files with 1 additions and 1 deletions
|
@ -109,7 +109,7 @@ let
|
||||||
analysisOutput = runCommand "${name}-structure.json" { } ''
|
analysisOutput = runCommand "${name}-structure.json" { } ''
|
||||||
${analyser}/bin/analyser -path ${path} -source ${src} -tags "${lib.concatStringsSep " " tags}" ${if cgo then "-cgo" else ""} > $out
|
${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
|
in
|
||||||
lib.fix (self: foldl' lib.recursiveUpdate { } (
|
lib.fix (self: foldl' lib.recursiveUpdate { } (
|
||||||
map (entry: mkset entry.locator (toPackage self src path depMap entry cgodeps cgocflags cgoldflags)) analysis
|
map (entry: mkset entry.locator (toPackage self src path depMap entry cgodeps cgocflags cgoldflags)) analysis
|
||||||
|
|
Loading…
Reference in a new issue