hydra-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Request: add new package to hydra (GNU datamash)


From: Ludovic Courtès
Subject: Re: Request: add new package to hydra (GNU datamash)
Date: Thu, 24 Jul 2014 13:47:18 +0200
User-agent: Gnus/5.130009 (Ma Gnus v0.9) Emacs/24.3 (gnu/linux)

Assaf Gordon <address@hidden> skribis:

> I previously used "/usr/bin/perl", then "/usr/bin/env perl" - and both 
> failed, so I changed it to just "perl" (assuming it will be in the $PATH) - 
> but to no avail.

Yes, in Nix and Guix, packages are stored in directories of their own,
so there’s no /usr/bin, /lib, etc.  The real file name for Perl here is
something like /nix/store/...-perl-5.10/bin/perl.

The right thing for the package is to use

  AC_PATH_PROG([PERL], [perl])
  AC_SUBST([PERL])

and then turn the Perl programs into .in template files that use @PERL@
in their shebang.

(That’s a good idea in general, anyway.)

Ludo’.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]