From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nikita Karetnikov Subject: Re: Toward 0.2 Date: Fri, 01 Mar 2013 10:01:31 -0500 Message-ID: <87sj4f6u39.fsf@karetnikov.org> References: <877gm7f01v.fsf@gnu.org> <87obfigz7g.fsf@karetnikov.org> <87y5el6hph.fsf@gnu.org> <87fw0rom1n.fsf@karetnikov.org> <87ehgbql5w.fsf@gnu.org> <87hal5ftyu.fsf@karetnikov.org> <874nh4ju7b.fsf@gnu.org> <87hakzwdzu.fsf@karetnikov.org> <87wqtu3n0z.fsf@gnu.org> <87ehg0rwfd.fsf@karetnikov.org> <87bob38ord.fsf@gnu.org> Mime-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha1; protocol="application/pgp-signature" Return-path: Received: from eggs.gnu.org ([208.118.235.92]:34266) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UBRSl-0001S3-5d for bug-guix@gnu.org; Fri, 01 Mar 2013 10:01:37 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UBRSi-0001KS-MJ for bug-guix@gnu.org; Fri, 01 Mar 2013 10:01:31 -0500 In-Reply-To: <87bob38ord.fsf@gnu.org> ("Ludovic =?utf-8?Q?Court=C3=A8s=22'?= =?utf-8?Q?s?= message of "(unknown date)") 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-bounces+gcggb-bug-guix=m.gmane.org@gnu.org To: Ludovic =?utf-8?Q?Court=C3=A8s?= Cc: bug-guix@gnu.org --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable > It=E2=80=99s not needed. All that needed is the name of the executable f= ile > to wrap. I don't understand. How will 'rename-file' get the location of the executable? For example: (wrap-program "wget" [...]) I guess that it will only work if you invoke 'wrap-program' from the same directory. > For the case where there are have several variables you want to set. Could you provide an example? The following works without '#:rest': (display (wrap-program "wget" '(("PATH" ":" =3D ("/nix/.../gawk/bin")) ("CERT_PATH" ":" suffix ("/nix/.../share/ce= rts" "/nix/.../foo/cert= s"))))) #!/bin/bash export PATH=3D"/nix/.../gawk/bin" export CERT_PATH=3D"$CERT_PATH${CERT_PATH:+:}:/nix/.../share/certs:/nix/...= /foo/certs" exec ./.wget-real --=-=-= Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (GNU/Linux) iQIcBAEBAgAGBQJRMMMvAAoJEM+IQzI9IQ38uKsP/1oDmsprT6i3biv0ZXzhNCTf gXo3yM832ZPl7nPU8Nr9Eg0f5pMOpPKyiyWXr+iBpx9bGAuPljzIc5KBaOR444tu lU2n+BolGxOXEWe0KN5uw7Zh7+XQsWIZfsnF0iDQRsyQ7Tn/7j2QYOM+tSv5VTac 5KsUhLaY64Ohf9Gmvr8PSMRPesTmOHrSPezeIm70McdUWdpudd0X7cbBAeNRPAh1 rWIfEKxWMLhMtJZcFc+bXtdDu3B7w5EoeNVKTUwUz3HYihrpTPFpicSUlc3BX3Ri s7dYBfpQl15I+0osixINIEcMyQU+uvCpQgFt9mKRqFJeOoRJmMpnPdGi6yFPzjir /PnV7RgoVHNQLaVTzdvwIs4xcLtCmXu02esdL+3H+Hz/Ko9dSgLu9NDO1+0zuC84 6VJD8/O8ZVWOKPKaqJP+tMIF4bNEI9knNNl0toslBDYoibRr/fbYOPwAp9M0WV7r 1/7f63AJ3NevMJw/xQ7cdoPEi/RBt1qNXJbdcf4+GzcyW4A9qlDiIYCDQBTawJHS oIMvfpCjo9D1f4t0g6pRCdllt0aBYKHly/QQYDm3wyOxN+sRGkIk5Z6FE9W7jzBI X+kskcczfnPe8nQMc88b1Az4RnCbacY9wrbwxypPkRM/30yIFiTzI7rZhvs4XDlt 5UOcU6ZLLeVF/BuMcwGo =rrTu -----END PGP SIGNATURE----- --=-=-=--