From mboxrd@z Thu Jan 1 00:00:00 1970 From: Efraim Flashner Subject: Re: [PATCH 2/3] gnu: Add go-1.4. Date: Thu, 14 Jan 2016 23:12:50 +0200 Message-ID: <20160114231250.4c93fef1@debian-netbook> References: <1452616298-6255-1-git-send-email-efraim@flashner.co.il> <1452616298-6255-3-git-send-email-efraim@flashner.co.il> <87lh7sp53w.fsf@gnu.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; boundary="Sig_/f2LlPz423HFcDOqU6Qr.4pq"; protocol="application/pgp-signature" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:45598) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aJpfa-0005kj-FN for guix-devel@gnu.org; Thu, 14 Jan 2016 16:43:03 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aJpfV-0005MA-RW for guix-devel@gnu.org; Thu, 14 Jan 2016 16:43:02 -0500 In-Reply-To: <87lh7sp53w.fsf@gnu.org> List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org To: Ludovic =?UTF-8?B?Q291cnTDqHM=?= Cc: guix-devel@gnu.org --Sig_/f2LlPz423HFcDOqU6Qr.4pq Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable On Thu, 14 Jan 2016 16:12:35 +0100 ludo@gnu.org (Ludovic Court=C3=A8s) wrote: > Efraim Flashner skribis: >=20 > [...] =20 >=20 > [...] >=20 > > + (replace 'build > > + (let* ((bash (assoc-ref %build-inputs "bash")) > > + (gccgo (assoc-ref %build-inputs "gccgo")) > > + (output (assoc-ref %outputs "out"))) > > + (setenv "CC" "gcc") > > + (setenv "GOROOT" (getcwd)) > > + (setenv "GOROOT_BOOTSTRAP" gccgo) > > + (setenv "GOROOT_FINAL" output) > > + (setenv "CGO_ENABLED" "0") > > + (lambda _ > > + ;; all.bash includes the tests, which fail because they = require > > + ;; network access, and access to /bin > > + (zero? (system* (string-append bash "/bin/bash") "make.b= ash"))))) =20 >=20 > Why not: >=20 > (replace 'build > (lambda* (#:key inputs #:allow-other-keys) > (let ((bash =E2=80=A6) =E2=80=A6) > =E2=80=A6 > (zero? (system* =E2=80=A6))))) >=20 > ? I got that one the same time I changed go-1.5 :) > > + (synopsis "Compiled, statically typed language developed by Google= ") > > + (description "Go, also commonly referred to as golang, is a progra= mming > > + language developed at Google. Designed primarily for systems program= ming, it > > + is a compiled, statically typed language in the tradition of C and C+= +, with > > +garbage collection, various safety features and CSP-style concurrent p= rogramming > > +features added.") =20 >=20 > I would remove =E2=80=9Cdeveloped by Google=E2=80=9D and focus on the tec= hnical > characteristics. >=20 > Also, what=E2=80=99s CSP-style? :-) I have no idea :) I scanned golang.org but didn't see anything that looked usable, so I hit up Wikipedia and that's what it spit out. It seems wikiped= ia says: https://en.wikipedia.org/wiki/Communicating_sequential_processes "In computer science, communicating sequential processes (CSP) is a formal language for describing patterns of interaction in concurrent systems." >=20 > Thanks! >=20 > Ludo=E2=80=99. :) --=20 Efraim Flashner =D7=90=D7=A4=D7=A8=D7=99=D7=9D = =D7=A4=D7=9C=D7=A9=D7=A0=D7=A8 GPG key =3D A28B F40C 3E55 1372 662D 14F7 41AA E7DC CA3D 8351 Confidentiality cannot be guaranteed on emails sent or received unencrypted --Sig_/f2LlPz423HFcDOqU6Qr.4pq Content-Type: application/pgp-signature Content-Description: OpenPGP digital signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQIcBAEBCgAGBQJWmA9TAAoJEPTB05F+rO6TNXoQAJnG8xY+SXw/vLkZ5nwqNQM7 3aqRCADWlS/fTrdAVsmVEBBmYxxZfDv8QMHI1l2fO0AO3iXUA7vLcWX0DD0fiaDK hEn50mWaVCozPY9/QK26U/b3eGZJehrJZILwcyBoBGIHSWxSjocq696QISNdwJOZ mewkGPdoPtN9NBd1p0OWst5EUmkMr+fGOKfBZZORhfPPXBJvUB36tVTHiQ/jxC/t T4F1M8oWcdPwCf9Dap6gUaMmLWolSA9xQnMEK1p4aAW/gKBexkL2aLYsZ+Q5HWSo 7+tt/hCio3wYjBJfgAY63IGHxosdTxz741R7OFgllr0qztYVmlVLeRcURvo+wGgX L8V5tFMSj0OD6lz9rQTf2/0UQYnyfQH9JxssZp8KvTnSJRpojiwDDb2qJRFXNvl4 /FPmxnM7a+g+bLRjiR9rC8VcMmex/KDTQUkAUVberyv/t2f5r2vZuek81RPN8k2s YKwQzrBctAhXK4JhJpYiZ/+0TGL72A9DK/YEU7C5nqZ/LQAb4memDeToHyOCjGmf xJMWqUlzZLaUjJphR/rnzhP8HH7QYEZGlhll1D6jSlIqN9jMw5x0t+/bgSGlinv/ O3BpypHjswVfYJ761Nq0I3ojlpkG/hkLb40CI+mKi03CxRbXA+qYxEO6j9SUyJIi z+EW0Yspic2VywlKkXqR =vnXl -----END PGP SIGNATURE----- --Sig_/f2LlPz423HFcDOqU6Qr.4pq--