diff options
-rw-r--r-- | guix/build/go-build-system.scm | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/guix/build/go-build-system.scm b/guix/build/go-build-system.scm index 858068ba98..d292ed1c9d 100644 --- a/guix/build/go-build-system.scm +++ b/guix/build/go-build-system.scm @@ -238,7 +238,8 @@ XXX We can't make us of compiled libraries (Go \"packages\")." (when install-source? (if (string-null? import-path) ((display "WARNING: The Go import path is unset.\n"))) - (let* ((out (assoc-ref outputs "out")) + (let* ((out (or (assoc-ref outputs "lib") + (assoc-ref outputs "out"))) (source (string-append (getenv "GOPATH") "/src/" import-path)) (dest (string-append out "/src/" import-path))) (mkdir-p dest) |