feat(buildGo): Expose Go import path for packages
This commit is contained in:
parent
57f37743c2
commit
e60dfabc21
1 changed files with 1 additions and 1 deletions
|
@ -70,7 +70,7 @@ let
|
|||
mkdir -p $out/${path}
|
||||
${srcList path (map (s: "${s}") srcs)}
|
||||
${go}/bin/go tool compile -o $out/${path}.a -trimpath=$PWD -trimpath=${go} -p ${path} ${includeSources uniqueDeps} ${spaceOut srcs}
|
||||
'') // { goDeps = uniqueDeps; };
|
||||
'') // { goDeps = uniqueDeps; goImportPath = path; };
|
||||
|
||||
# Build a Go library out of the specified protobuf definition.
|
||||
proto = { name, proto, path ? name, extraDeps ? [] }: (makeOverridable package) {
|
||||
|
|
Loading…
Reference in a new issue