From mboxrd@z Thu Jan 1 00:00:00 1970 From: Maxim Cournoyer Subject: bug#38529: Make --pure the default for `guix environment'? Date: Mon, 09 Dec 2019 14:23:07 +0900 Message-ID: <87tv6aoyx0.fsf@gmail.com> References: <87eexeu8mo.fsf@ambrevar.xyz> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:470:142:3::10]:47148) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ieBWd-0008KY-Jk for bug-guix@gnu.org; Mon, 09 Dec 2019 00:24:04 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ieBWc-0008Gs-Ks for bug-guix@gnu.org; Mon, 09 Dec 2019 00:24:03 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:46532) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1ieBWc-0008Go-FB for bug-guix@gnu.org; Mon, 09 Dec 2019 00:24:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1ieBWc-0000P9-Ar for bug-guix@gnu.org; Mon, 09 Dec 2019 00:24:02 -0500 Sender: "Debbugs-submit" Resent-Message-ID: In-Reply-To: <87eexeu8mo.fsf@ambrevar.xyz> (Pierre Neidhardt's message of "Sun, 08 Dec 2019 16:42:07 +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" To: Pierre Neidhardt Cc: 38529@debbugs.gnu.org Hi Pierre, Pierre Neidhardt writes: > --pure seems to be the more sensible behaviour. "Impure" environments > can have unexpected behaviours, so it makes sense to only allow them > when the user explicitly asks for it. Unfortunately Guix packages often don't work well with --pure. Be it magit that depends on git, or Emacs that depend or coreutils, etc., there are many things that are expected to be propagated and aren't explicitly, by omission or sometimes for closure's size sake (when the feature is optional). We could argue that is a good reason for the proposed change :-). I think environments are great mostly for hacking and trying stuff quickly, where the guarantees of Guix do not matter as much as for profiles (and if they did, you'd be better with guix environment --container anyway). So, I guess that makes me more on the side of "let's no change the defaults for now". Maxim