From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nils Gillmann Subject: Re: You say nix, I say guix: Nix 2.0 and Guix Date: Sun, 29 Apr 2018 17:44:06 +0000 Message-ID: <20180429174406.lwz4syjt6uzrw64b@abyayala> References: <87d0yjkrv2.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:48554) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fCqMP-0005gr-SG for guix-devel@gnu.org; Sun, 29 Apr 2018 13:43:42 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fCqMO-0000ye-Qk for guix-devel@gnu.org; Sun, 29 Apr 2018 13:43:41 -0400 Received: from conspiracy.of.n0.is ([2a01:4f8:1c0c:7ad0::1]:57860) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1fCqMO-0000xw-7S for guix-devel@gnu.org; Sun, 29 Apr 2018 13:43:40 -0400 Content-Disposition: inline In-Reply-To: <87d0yjkrv2.fsf@gmail.com> 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" To: Chris Marusich Cc: guix-devel@gnu.org Chris Marusich transcribed 1.4K bytes: > Hi, > > On February 22nd, Nix 2.0 was released: > > https://nixos.org/nix/manual/#ssec-relnotes-2.0 > > It contains a lot of interesting new features. Are there any plans to > merge some of the nix-daemon changes into our guix-daemon? Is > compatibility with the nix-daemon a goal of the Guix project? Can we > take inspiration from any of the non-daemon features and use them in > Guix? Conversely, is there anything we can upstream to Nix that they > might find useful? > > -- > Chris What could be reused in my opinion, from the changelog and not simply code: * Silent builds / operations by default. We already have the option for this, without the progress report iirc. Since only developers and Build machines are interested in the verbose building output, we could adjust the defaults to this? * specific example in the --help output of the functions? At the moment we have generic examples. Something that tells people how to install for example libreoffice is much closer to their reality when they are lost (judging from my group of friends who are technically skilled but still not Guix current user group.). * nix why-depends, nix path-info are nice. * do we have a progress report on guix gc operations for optimizing? * nix ls-store and nix ls-nar look interesting. * "In Linux sandbox builds, we now use /build instead of /tmp as the temporary build directory. This fixes potential security problems when a build accidentally stores its TMPDIR in some security-sensitive place, such as an RPATH." This is a very interesting development. I wanted to move TMPDIR for specific cases anyway but did not consider yet another directory in the root. I would've used another location.