Hi, this is because we have a -- option. "guix environment guix -- ad-hoc libgit2" means you want to run "ad-hoc libgit2" in a guix environment. The error message tells you that it can't find an ad-hoc executable in that environment. There is no "ad-hoc" package involved here…
Le 15 décembre 2018 08:09:37 GMT+01:00, swedebu...@riseup.net a écrit : >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: >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"