From mboxrd@z Thu Jan 1 00:00:00 1970 From: zimoun Subject: bug#40549: More usability issues: Date: Fri, 24 Apr 2020 10:28:50 +0200 Message-ID: References: <6171889.DvuYhMxLoT@cherry> <3827671.e9J7NaK4W3@peach> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Return-path: Received: from eggs.gnu.org ([2001:470:142:3::10]:48948) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jRtil-0001pK-8B for bug-guix@gnu.org; Fri, 24 Apr 2020 04:30:03 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.90_1) (envelope-from ) id 1jRtik-0006Qr-Ou for bug-guix@gnu.org; Fri, 24 Apr 2020 04:30:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:44853) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jRtik-0006Q1-B7 for bug-guix@gnu.org; Fri, 24 Apr 2020 04:30:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1jRtik-0003Hz-73 for bug-guix@gnu.org; Fri, 24 Apr 2020 04:30:02 -0400 Sender: "Debbugs-submit" Resent-Message-ID: In-Reply-To: <3827671.e9J7NaK4W3@peach> 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-mx.org@gnu.org Sender: "bug-Guix" To: Tom Cc: 40549@debbugs.gnu.org On Thu, 23 Apr 2020 at 21:52, Tom via Bug reports for GNU Guix wrote: > > To add detail here: > > Doing `guix package -d 18 -S 17` actually works. > > This gives me the impression that the order of arguments is relevant to the > processing of them. It is known and cumbersome: a feature? ;-) Other examples: guix package -I -A # does nothing guix package -A -I # list available > Another, similar, example is: > > guix package -l --profile=a > > this doesn't work. But the most curious thing is that this does: > > guix package --list-installed --profile=a It is worse than that. --8<---------------cut here---------------start------------->8--- # OK guix package --list-generations -p /path/to/profile guix package --list-installed -p /path/to/profile # KO guix package -l -p /path/to/profile guix package -I -p /path/to/profile # OK guix package -p /path/to/profile -l guix package -p /path/to/profile -I # KO guix package -l --profile=/path/to/profile # Do nothing guix package -I --profile=/path/to/profile # OK guix package -l --profile=/path/to/profile -l guix package -I --profile=/path/to/profile -I --8<---------------cut here---------------end--------------->8--- Well, it seems there is a bug. :-) Back to the first examples: --8<---------------cut here---------------start------------->8--- # Do something guix package --list-installed -A # Do nothing guix package -I -A --8<---------------cut here---------------end--------------->8--- Thanks for reporting. All the best, simon