diff options
author | Piotr Bogdan <ppbogdan@gmail.com> | 2018-04-01 17:44:36 +0100 |
---|---|---|
committer | Piotr Bogdan <ppbogdan@gmail.com> | 2018-04-01 17:44:36 +0100 |
commit | d1fad214013316108d1f06bf42e491bd18ac0db2 (patch) | |
tree | dfa327333df5a4dcb2cfb828c128539fb26c11ca /pkgs | |
parent | fbac1cbc06568380b538e81546e9d3b1715cab14 (diff) |
buildGoPackage: use a separator when joining extraSrcPaths together
Diffstat (limited to 'pkgs')
-rw-r--r-- | pkgs/development/go-modules/generic/default.nix | 2 |
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 a6d83fc770c7..77c2687e2911 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 |