all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Leo Famulari <leo@famulari.name>
To: Pierre Neidhardt <ambrevar@gmail.com>
Cc: help-guix <help-guix@gnu.org>
Subject: Re: git-credential-netrc: Can't locate Git.pm
Date: Mon, 17 Sep 2018 15:24:39 -0400	[thread overview]
Message-ID: <20180917192439.GB7741@jasmine.lan> (raw)
In-Reply-To: <87wotczw1i.fsf@gmail.com>

[-- Attachment #1: Type: text/plain, Size: 992 bytes --]

On Mon, Jul 30, 2018 at 03:35:05PM +0200, Pierre Neidhardt wrote:
> A while back I added git-credential-netrc to Guix and it worked flawlessly.
> 
> Since my latest update a week ago, it fails with the following error:
> 
> --8<---------------cut here---------------start------------->8---
> Can't locate Git.pm in @INC (you may need to install the Git module) (@INC contains: ...) at /home/ambrevar/.guix-profile/bin/git-credential-netrc line 8.
> --8<---------------cut here---------------end--------------->8---
> 
> Should the credential-netrc executable be wrapped to define PERL5LIB appropriately?
> Seems legit, but then I don't understand why it used to work.
> 
> Any clue?

Perl 5.26 changed how it locates modules so that @INC no longer includes
the current working directory (the Perl community calls this "dotless
@INC"). Is it possible that change caused this to break?

Also, please send bug reports in the future, since they are less likely
to get lost :)

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

  parent reply	other threads:[~2018-09-17 19:24 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-07-30 13:35 git-credential-netrc: Can't locate Git.pm Pierre Neidhardt
2018-09-17 16:38 ` Pierre Neidhardt
2018-09-17 19:24 ` Leo Famulari [this message]
2018-09-17 19:29   ` Pierre Neidhardt

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20180917192439.GB7741@jasmine.lan \
    --to=leo@famulari.name \
    --cc=ambrevar@gmail.com \
    --cc=help-guix@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.