summaryrefslogtreecommitdiff
path: root/guix/remote.scm
diff options
context:
space:
mode:
authorSarah Morgensen <iskarian@mgsn.dev>2021-09-16 18:24:40 -0700
committerLudovic Courtès <ludo@gnu.org>2021-09-18 23:08:32 +0200
commitb3907e304d6e66fbd3cffd71446ac8c46d26d849 (patch)
tree97c210bd915707166f5f9e009762d79024fa576f /guix/remote.scm
parent7bae88b5b9dcacad4dcd11b353b486dc2f8a78e2 (diff)
import: go: Improve handling of modules in VCS subdirectories.
Use the supplied module path (instead of the repository root) as the import path for everything except source and homepage URLs. For modules not in the root of a VCS repository, set #:unpack-path to the repository root by default. Partly fixes <https://issues.guix.gnu.org/50595>. Reported by Stephen Paul Weber <singpolyma@singpolyma.net>. * guix/import/go.scm (go-module->guix-package): Use 'module-path' instead of 'root-module-path' for #:import-path. Emit #:unpack-path when #:import-path is not equal to 'root-module-path'. Signed-off-by: Ludovic Courtès <ludo@gnu.org>
Diffstat (limited to 'guix/remote.scm')
0 files changed, 0 insertions, 0 deletions