aboutsummaryrefslogtreecommitdiff
path: root/pkgs/development/go-modules/generic
diff options
context:
space:
mode:
authorPiotr Bogdan <ppbogdan@gmail.com>2018-04-01 17:44:36 +0100
committerPiotr Bogdan <ppbogdan@gmail.com>2018-04-01 17:44:36 +0100
commitd1fad214013316108d1f06bf42e491bd18ac0db2 (patch)
treedfa327333df5a4dcb2cfb828c128539fb26c11ca /pkgs/development/go-modules/generic
parentfbac1cbc06568380b538e81546e9d3b1715cab14 (diff)
buildGoPackage: use a separator when joining extraSrcPaths together
Diffstat (limited to 'pkgs/development/go-modules/generic')
-rw-r--r--pkgs/development/go-modules/generic/default.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/development/go-modules/generic/default.nix b/pkgs/development/go-modules/generic/default.nix
index a6d83fc770c..77c2687e291 100644
--- a/pkgs/development/go-modules/generic/default.nix
+++ b/pkgs/development/go-modules/generic/default.nix
@@ -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