push sheeet
Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s

This commit is contained in:
Dark Steveneq
2025-10-09 14:15:47 +02:00
commit 646b892680
49168 changed files with 5897842 additions and 0 deletions

View File

@@ -0,0 +1,22 @@
diff --git a/cmake/Modules/FindLua52.cmake b/cmake/Modules/FindLua52.cmake
index f4398e4..17377c0 100644
--- a/cmake/Modules/FindLua52.cmake
+++ b/cmake/Modules/FindLua52.cmake
@@ -61,7 +61,7 @@ FIND_PATH(LUA_INCLUDE_DIR lua.h
)
FIND_LIBRARY(_LUA_LIBRARY_RELEASE
- NAMES lua52 lua5.2 lua-5.2 lua
+ NAMES lua52 lua5.2 lua-5.2 lua luajit-5.1
HINTS
$ENV{LUA_DIR}
PATH_SUFFIXES lib64 lib
@@ -75,7 +75,7 @@ FIND_LIBRARY(_LUA_LIBRARY_RELEASE
)
FIND_LIBRARY(_LUA_LIBRARY_DEBUG
- NAMES lua52-d lua5.2-d lua-5.2-d lua-d
+ NAMES lua52-d lua5.2-d lua-5.2-d lua-d luajit-5.1-d
HINTS
$ENV{LUA_DIR}
PATH_SUFFIXES lib64 lib

View File

@@ -0,0 +1,39 @@
{
lib,
stdenv,
fetchFromGitHub,
lua,
boost,
cmake,
}:
stdenv.mkDerivation {
pname = "luabind";
version = "0.9.1";
src = fetchFromGitHub {
owner = "Oberon00";
repo = "luabind";
rev = "49814f6b47ed99e273edc5198a6ebd7fa19e813a";
sha256 = "sha256-JcOsoQHRvdzF2rsZBW6egOwIy7+7C4wy0LiYmbV590Q";
};
nativeBuildInputs = [ cmake ];
buildInputs = [ boost ];
propagatedBuildInputs = [ lua ];
passthru = {
inherit lua;
};
patches = [ ./0.9.1-discover-luajit.patch ];
meta = {
homepage = "https://github.com/Oberon00/luabind";
description = "Library that helps you create bindings between C++ and Lua";
license = lib.licenses.mit;
platforms = lib.platforms.unix;
};
}