1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-25 03:17:13 +00:00
nixpkgs/pkgs/development/lua-modules/overrides.nix

58 lines
1.7 KiB
Nix
Raw Normal View History

{ pkgs, ... }@args:
self: super:
with super;
{
##########################################3
#### manual fixes for generated packages
##########################################3
2019-02-05 15:54:37 +00:00
cqueues = super.cqueues.override({
nativeBuildInputs = [ pkgs.gnum4 ];
buildInputs = [ pkgs.openssl ];
extraConfig = with pkgs; ''
variables={
CRYPTO_INCDIR="${openssl.dev}/include";
CRYPTO_LIBDIR="${openssl.out}/lib";
OPENSSL_INCDIR="${openssl.dev}/include";
OPENSSL_LIBDIR="${openssl.out}/lib";
}
'';
});
2019-02-05 15:57:53 +00:00
lgi = super.lgi.overrideAttrs(oa: {
nativeBuildInputs = [ pkgs.pkgconfig ];
buildInputs = with pkgs; oa.buildInputs ++ [ glib gobjectIntrospection];
patches = [
(pkgs.fetchpatch {
name = "lgi-find-cairo-through-typelib.patch";
url = "https://github.com/psychon/lgi/commit/46a163d9925e7877faf8a4f73996a20d7cf9202a.patch";
sha256 = "0gfvvbri9kyzhvq3bvdbj2l6mwvlz040dk4mrd5m9gz79f7w109c";
})
];
});
ltermbox = super.ltermbox.override( {
disabled = !isLua51 || isLuaJIT;
});
lua-cmsgpack = super.lua-cmsgpack.override({
# TODO this should work with luajit once we fix luajit headers ?
disabled = (!isLua51) || isLuaJIT;
});
lrexlib-posix = super.lrexlib-posix.override({
buildInputs = [ pkgs.glibc.dev ];
});
lrexlib-gnu = super.lrexlib-gnu.override({
buildInputs = [ pkgs.gnulib ];
});
luv = super.luv.overrideAttrs(oa: {
propagatedBuildInputs = oa.propagatedBuildInputs ++ [ pkgs.libuv ];
});
busted = super.busted.overrideAttrs(oa: {
postInstall = ''
install -D completions/zsh/_busted $out/share/zsh/site-functions/_busted
'';
});
}