From mboxrd@z Thu Jan 1 00:00:00 1970 From: Julien Lepiller Subject: bug#33755: error: execlp: No such file or directory from guix environment Date: Sat, 15 Dec 2018 10:40:48 +0100 Message-ID: References: <6d6639a0587b793ec342c7d1de36e7c3@riseup.net> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:34583) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gY6RY-0002Uv-88 for bug-guix@gnu.org; Sat, 15 Dec 2018 04:41:08 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gY6RS-0006lx-JZ for bug-guix@gnu.org; Sat, 15 Dec 2018 04:41:08 -0500 Received: from debbugs.gnu.org ([208.118.235.43]:44698) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gY6RS-0006lk-EU for bug-guix@gnu.org; Sat, 15 Dec 2018 04:41:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1gY6RS-0005Zu-88 for bug-guix@gnu.org; Sat, 15 Dec 2018 04:41:02 -0500 Sender: "Debbugs-submit" Resent-Message-ID: In-Reply-To: <6d6639a0587b793ec342c7d1de36e7c3@riseup.net> 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: swedebugia@riseup.net, 33755@debbugs.gnu.org Hi, this is because we have a -- option=2E "guix environment guix -- ad-hoc= libgit2" means you want to run "ad-hoc libgit2" in a guix environment=2E T= he error message tells you that it can't find an ad-hoc executable in that = environment=2E There is no "ad-hoc" package involved here=E2=80=A6 Le 15 d=C3=A9cembre 2018 08:09:37 GMT+01:00, swedebugia@riseup=2Enet a =C3= =A9crit : >Hi > >Is this a bug? > >sdb@antelope ~/src/guix$ guix environment guix -- ad-hoc libgit2 >texinfo >guix environment: error: execlp: No such file or directory > >I meant to type:=20 >sdb@antelope ~/src/guix$ guix environment guix --ad-hoc libgit2 texinfo > >I would have liked an error saying "error: package ad-hoc not found - >cannot add it to the environment"