From mboxrd@z Thu Jan 1 00:00:00 1970 From: Roel Janssen Subject: Odd behavior with --dry-run and --upgrade Date: Sat, 23 Jul 2016 17:11:03 +0200 Message-ID: <87y44sqtiw.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:54673) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bQyZj-0003y5-GH for guix-devel@gnu.org; Sat, 23 Jul 2016 11:10:48 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bQyZd-000079-GU for guix-devel@gnu.org; Sat, 23 Jul 2016 11:10:46 -0400 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:53377) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bQyZd-000070-43 for guix-devel@gnu.org; Sat, 23 Jul 2016 11:10:41 -0400 Received: from 541e9304.cm-5-7c.dynamic.ziggo.nl ([84.30.147.4]:33096 helo=roel-tp) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.82) (envelope-from ) id 1bQyZc-0000Dy-BQ for guix-devel@gnu.org; Sat, 23 Jul 2016 11:10:40 -0400 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: guix-devel Dear Guix, For some time now, running `guix package --dry-run --upgrade' results in build actions involving grafting. For a dry-run, I find that really odd. I believe the correct behavior should be what can be achieved with: `guix package --dry-run --no-grafts --upgrade'. Do you think the behavior of --dry-run should be changed to not graft things by default? And if so, do you have a pointer where I could find the problematic code? I couldn't find anything particularly odd because the code involved has a `dry-run?' condition pretty much everywhere it matters. Kind regards, Roel Janssen