From df1fab5837ccecb952faf2bacf67b2d9c737af42 Mon Sep 17 00:00:00 2001 From: Ludovic Courtès Date: Sat, 13 Oct 2012 22:36:39 +0200 Subject: distro: Add a statically-linked, relocatable Guile 2.0 package. * distro/packages/base.scm (%guile-static, %guile-static-stripped): New variables. * distro/patches/guile-relocatable.patch: New file. * Makefile.am (dist_patch_DATA): Add it. --- guix/store.scm | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'guix/store.scm') diff --git a/guix/store.scm b/guix/store.scm index 3eedcbed57..9c965af605 100644 --- a/guix/store.scm +++ b/guix/store.scm @@ -264,6 +264,10 @@ (define* (open-connection #:optional (file %default-socket-path) ;; This trick allows use of the `scm_c_read' optimization. (socket PF_UNIX SOCK_STREAM 0))) (a (make-socket-address PF_UNIX file))) + + ;; Enlarge the receive buffer. + (setsockopt s SOL_SOCKET SO_RCVBUF (* 12 1024)) + (connect s a) (write-int %worker-magic-1 s) (let ((r (read-int s))) -- cgit v1.2.3