Commit Graph

27 Commits

Author SHA1 Message Date
Vladimír Čunát
5ddfa4183a
luajit: fix cross-compilation, partially
Also clean the expression a bit.
2019-02-21 12:16:04 +01:00
Matthieu Coudron
c4519cf8a6 lua: add withPackages function (#54460)
* lua: add withPackages function

First step towards more automation similar to the haskell backend.
Follow up of https://github.com/NixOS/nixpkgs/pull/33903
2019-01-30 14:13:15 +00:00
volth
52f53c69ce pkgs/*: remove unreferenced function arguments 2018-07-21 02:48:04 +00:00
Silvan Mosberger
02f11bca60
some overrideDerivation cleanups
These four top-level packages were the only ones that didn't have the
meta.position attribute automagically set. This commit fixes this.
2018-06-14 22:28:55 +02:00
Orivej Desh
b00c65103d luajit: symlink missing lua.hpp 2017-11-27 16:14:18 +00:00
Andreas Rammhold
0134ccb4dd
luajit: do not override INSTALL_INC
Overriding INSTALL_INC caused luajit to be installed directly into the
`include/` directory instead of `include/luajit-${version}` as normally
expected. Previously the path indicated in the pkg-config file also did
not match the actual header file location.
2017-10-26 01:09:54 +02:00
Vladimír Čunát
08743fe0a3
luajit: 2.0 actually doesn't support aarch64 at all
I suppose 2.1 with caveats with some pointers is better than nothing.
I'm sorry for the potential confusion.  In particular, the problem
about 64-bit pointers is the same in 2.0 and 2.1, despite the warning
only being shown for 2.1 on the web site.
2017-07-10 14:22:35 +02:00
Vladimír Čunát
e08e354e04
luajit: revert to 2.1 on aarch64 for now
https://nix-cache.s3.amazonaws.com/log/irncmyl5d6h21jzg5rm10q8s2sxqirmv-luajit-2.0.5.drv
It's hard to debug for me, without an aarch64 machine.
2017-07-07 18:25:17 +02:00
Vladimír Čunát
b8726c346c
luajit: switch to 2.0.5 on aarch64 by default 2017-07-07 10:54:06 +02:00
Vladimír Čunát
e36b588f93
luajit: add 2.0 version again
The reason will be apparent from the followup commit.
Also order the phases, quote shell variables, add myself to
maintainers, etc.
2017-07-07 10:54:05 +02:00
Vladimír Čunát
d7501b986a
luajit: 2.1.0-beta2 -> 2.1.0-beta3
The removal of `luaL_reg` alias caused lots of breakage.
Only sysdig and knot-resolver needed (also) other changes.
2017-05-02 14:00:45 +02:00
Vladimír Čunát
2d7cb1f6c3
luajit: 2.1.0-beta1 -> 2.1.0-beta2
I'm not very certain about beta as the default,
but let me not change that ATM.
2016-11-24 13:35:13 +01:00
Bjørn Forsman
bd01fad0ed Captialize meta.description of all packages
In line with the Nixpkgs manual.

A mechanical change, done with this command:

  find pkgs -name "*.nix" | \
      while read f; do \
          sed -e 's/description\s*=\s*"\([a-z]\)/description = "\u\1/' -i "$f"; \
      done

I manually skipped some:

* Descriptions starting with an abbreviation, a user name or package name
* Frequently generated expressions (haskell-packages.nix)
2016-06-20 13:55:52 +02:00
Vladimír Čunát
d1df28f8e5 Merge 'staging' into closure-size
This is mainly to get the update of bootstrap tools.
Otherwise there were mysterious segfaults:
https://github.com/NixOS/nixpkgs/pull/7701#issuecomment-203389817
2016-04-07 14:40:51 +02:00
Sergey Mironov
c899444c69 luajit: symlinked as 'lua' 2016-03-22 00:17:31 +03:00
Sergey Mironov
da66fd2b11 luajit: bump to 2.1.0-beta1 2016-03-19 12:37:01 +03:00
Thomas Tuegel
cd5e923f55 luajit: fix evaluation on Darwin 2016-03-11 08:57:39 -06:00
Vladimír Čunát
5227fb1dd5 Merge commit staging+systemd into closure-size
Many non-conflict problems weren't (fully) resolved in this commit yet.
2015-10-03 13:33:37 +02:00
Austin Seipp
5762db8504 nixpkgs: luajit 2.0.3 -> 2.0.4
Signed-off-by: Austin Seipp <aseipp@pobox.com>
2015-05-27 16:36:27 -05:00
Vladimír Čunát
3b9ef2c71b fix "libc}/lib" and similar references
Done mostly without any verification.
I didn't bother with libc}/include, as the path is still correct.
2015-05-05 11:52:08 +02:00
John Wiegley
28b6fb61e6 Change occurrences of gcc to the more general cc
This is done for the sake of Yosemite, which does not have gcc, and yet
this change is also compatible with Linux.
2014-12-26 11:06:21 -06:00
Vladimir Kirillov
e5f7e4ec3c luajit: support Darwin builds 2014-05-10 13:50:49 +03:00
Austin Seipp
29c0d0047f luajit: adopt, upgrade, optimize
- Build the 'amalgamation' by default - more RAM needed to build, but
   better overall performance
 - Upgrade to version 2.0.3
 - Adopt as maintainer

Signed-off-by: Austin Seipp <aseipp@pobox.com>
2014-04-08 21:16:33 -05:00
Michael Raskin
556e38c0f4 Fix LuaJIT evaluation on non-Linux platforms 2013-12-15 20:12:35 +04:00
Song Wenwu
77cefbe76a luajit: fix ldconfig to correct *.so files(symlinks) 2013-12-15 14:04:07 +08:00
Kim Simmons
49bf246491 Minifix: didn't use the name variable in the package. 2013-11-15 17:41:33 +01:00
Kim Simmons
a8e3167228 LuaJIT: New package
Just-in-time compiler for lua 5.1 with strong focus on performance.
Uses the same API as lua 5.1 which makes it extremely easy to integrate.
2013-11-15 17:20:29 +01:00