[Nix-dev] [nixpkgs] Update leiningen to 1.7.1, fix rlwrap bug
Michel Alexandre Salim
michel at sylvestre.me
Fri May 4 07:03:04 CEST 2012
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On 05/04/2012 10:17 AM, Michel Alexandre Salim wrote:
> On 05/02/2012 11:52 AM, Michel Alexandre Salim wrote:
>> Hi,
>
>> I've updated the leiningen nixpkg to 1.7.1, and while I'm at it,
>> fixed the problem with the current expression that Eelco noted
>> when he committed it in February:
>
> Please hold and not commit this for now; Phil expressed that he
> prefers rlwrap be made an explicit dependency, since the lein repl
> experience is much worse without it, so I'll be reworking the
> patch.
>
OK, the attached patch does the trick. I'm applying a patch for
upstream that simplifies lein-pkg and assumes rlwrap is present (thus
getting rid of the 'which' invocation that caused problem earlier --
we no longer need to replace it with 'type -P'). lein is now invoked
through a wrapper (using makeWrapper) that injects the path to the
rlwrap used during the build.
Cheers,
- --
Michel Alexandre Salim
µblog: http://identi.ca/hircus
http://twitter.com/hircus
GPG key ID: A36A937A
() ascii ribbon campaign - against html e-mail
/\ www.asciiribbon.org - against proprietary attachments
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
iQEcBAEBAgAGBQJPo2MIAAoJEEr1VKujapN6ZW0H/i8jI4NgXoRWWhLuanrBP+9d
/pshYEHCfe1j+J5lJmXvDHal4h6Zq34Ec52J4vCk8HASkQ1CRpQV7EmPXIH2YEyA
xTtPpSdq6cSvvVz/xI8pGkreW4tCDOOn3LCnzv+joEOD1PIZEU0DIrSni+HKzkoK
O4Jao2z1dU9bRYDKRgSztsuXvl1LWixiKqLj/splcJLf1dzeSvb80gry2S+/o1Fn
Qk4rDCDtaHyZoMCae4nK2wALImFbZFkm7YB+tUqglcYhbJepBxCfgNLrVC0Ngtyd
Jo4mrUrmaWTw+7rTiCG/ZvmhlrijU+LKjUBEAqQ3/RwOcLe05Wn4E5QcN+vKVEI=
=o1lv
-----END PGP SIGNATURE-----
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-update-leiningen-to-1.7.1.patch
Type: text/x-patch
Size: 5922 bytes
Desc: not available
Url : http://lists.science.uu.nl/pipermail/nix-dev/attachments/20120504/21e23a48/attachment.bin
More information about the nix-dev
mailing list