From mboxrd@z Thu Jan 1 00:00:00 1970 From: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) Subject: Re: Integration of the Nix daemon Date: Sat, 15 Dec 2012 15:48:52 +0100 Message-ID: <87ip83nzfv.fsf@gnu.org> References: <87zk1u3htq.fsf@gnu.org> <87a9tgqllr.fsf@gnu.org> <201212150023.27431.andreas@enge.fr> <201212150029.50776.andreas@enge.fr> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([208.118.235.92]:35709) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Tjt2u-0000d6-Im for bug-guix@gnu.org; Sat, 15 Dec 2012 09:48:57 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Tjt2t-00043c-JF for bug-guix@gnu.org; Sat, 15 Dec 2012 09:48:56 -0500 Received: from mail1-relais-roc.national.inria.fr ([192.134.164.82]:26297) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Tjt2t-00043U-Co for bug-guix@gnu.org; Sat, 15 Dec 2012 09:48:55 -0500 In-Reply-To: <201212150029.50776.andreas@enge.fr> (Andreas Enge's message of "Sat, 15 Dec 2012 00:29:50 +0100") List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+gcggb-bug-guix=m.gmane.org@gnu.org Sender: bug-guix-bounces+gcggb-bug-guix=m.gmane.org@gnu.org To: Andreas Enge Cc: bug-guix@gnu.org Andreas Enge skribis: > One more comment: The size of guix-daemon is 9 804 696, that of > nix-worker 691 834, and the entire directory nix/bin contains > only 5 312 kB. A bit suspicious. Do you have an explanation? Running =E2=80=98strip --strip-debug guix-daemon=E2=80=99 makes it go from = 10 MiB to just 1 MiB (this is C++!). Also, guix-daemon is statically-linked against the Nix libraries, whereas nix-daemon is dynamically linked against them. Here, /path/to/nix/lib/nix weighs in at around 2 MiB. Does that answer your question? Ludo=E2=80=99.