buildGoPackage: use a separator when joining extraSrcPaths together
This commit is contained in:
parent
fbac1cbc06
commit
d1fad21401
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue