New version of the patch. I moved the logic to figure out GOOS/GOARCH to the host side and added keywords to pass the information along to the build side. With a properly configured go package and perhaps some additional qemu-binfmt targets packages like this should work: (use-modules (guix packages) (gnu packages syncthing)) (package (inherit syncthing) (arguments `(,@(package-arguments syncthing) #:goos "plan9" #:goarch "amd64"))) -- Efraim Flashner רנשלפ םירפא GPG key = A28B F40C 3E55 1372 662D 14F7 41AA E7DC CA3D 8351 Confidentiality cannot be guaranteed on emails sent or received unencrypted