Merge pull request #38301 from pbogdan/go-extra-src-paths

buildGoPackage: use a separator when joining extraSrcPaths together
This commit is contained in:
Franz Pletz 2018-04-01 22:37:16 +00:00 committed by GitHub
commit b1687d3a95
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -98,7 +98,7 @@ go.stdenv.mkDerivation (
rmdir goPath
'') + (lib.optionalString (extraSrcPaths != []) ''
${rsync}/bin/rsync -a ${lib.concatMapStrings (p: "${p}/src") extraSrcPaths} go
${rsync}/bin/rsync -a ${lib.concatMapStringsSep " " (p: "${p}/src") extraSrcPaths} go
'') + ''
export GOPATH=$NIX_BUILD_TOP/go:$GOPATH