guix-devel
[Top][All Lists]
Advanced

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

Re: [PATCH] utils: Allow wrap-program to be called multiple times.


From: Ludovic Courtès
Subject: Re: [PATCH] utils: Allow wrap-program to be called multiple times.
Date: Wed, 10 Sep 2014 15:40:47 +0200
User-agent: Gnus/5.130011 (Ma Gnus v0.11) Emacs/24.3 (gnu/linux)

Eric Bavier <address@hidden> skribis:

> Currently, if (@ (guix build utils) wrap-program) is called multiple
> times for the same file, the original file ends up being overwritten.
> This happened to me when trying to wrap a python program, which had
> already once been wrapped by python-build-system.  The
> python-build-system wrapper sets PYTHON_PATH, and I needed to wrap the
> program again in order to set PATH.

Wouldn’t it be easier or preferable to change ‘python-build-system’ to
offer a way to specify additional arguments for ‘wrap-program’?

The idea of having multiple indirections just to set a bunch of
environment variables doesn’t look appealing to me.

Thanks,
Ludo’.



reply via email to

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