Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at release-19.03 71 lines 2.1 kB view raw
1{ pkgs, ... }@args: 2self: super: 3with super; 4{ 5 ##########################################3 6 #### manual fixes for generated packages 7 ##########################################3 8 lgi = super.lgi.overrideAttrs(oa: { 9 nativeBuildInputs = [ pkgs.pkgconfig ]; 10 buildInputs = with pkgs; oa.buildInputs ++ [ glib gobjectIntrospection]; 11 patches = [ 12 (pkgs.fetchpatch { 13 name = "lgi-find-cairo-through-typelib.patch"; 14 url = "https://github.com/psychon/lgi/commit/46a163d9925e7877faf8a4f73996a20d7cf9202a.patch"; 15 sha256 = "0gfvvbri9kyzhvq3bvdbj2l6mwvlz040dk4mrd5m9gz79f7w109c"; 16 }) 17 ]; 18 }); 19 20 ltermbox = super.ltermbox.override( { 21 disabled = !isLua51 || isLuaJIT; 22 }); 23 24 lua-cmsgpack = super.lua-cmsgpack.override({ 25 # TODO this should work with luajit once we fix luajit headers ? 26 disabled = (!isLua51) || isLuaJIT; 27 }); 28 29 lrexlib-posix = super.lrexlib-posix.override({ 30 buildInputs = [ pkgs.glibc.dev ]; 31 }); 32 lrexlib-gnu = super.lrexlib-gnu.override({ 33 buildInputs = [ pkgs.gnulib ]; 34 }); 35 luaevent = super.luaevent.override({ 36 buildInputs = with pkgs; [ libevent.dev libevent ]; 37 propagatedBuildInputs = [ luasocket ]; 38 extraConfig = '' 39 variables={ 40 EVENT_INCDIR="${pkgs.libevent.dev}/include"; 41 EVENT_LIBDIR="${pkgs.libevent}/lib"; 42 } 43 ''; 44 disabled= luaOlder "5.1" || luaAtLeast "5.4" || isLuaJIT; 45 }); 46 lua-iconv = super.lua-iconv.override({ 47 buildInputs = [ pkgs.libiconv ]; 48 }); 49 luv = super.luv.overrideAttrs(oa: { 50 propagatedBuildInputs = oa.propagatedBuildInputs ++ [ pkgs.libuv ]; 51 }); 52 53 busted = super.busted.overrideAttrs(oa: { 54 postInstall = '' 55 install -D completions/zsh/_busted $out/share/zsh/site-functions/_busted 56 ''; 57 }); 58 59 luuid = super.luuid.override({ 60 buildInputs = [ pkgs.libuuid ]; 61 extraConfig = '' 62 variables = { 63 LIBUUID_INCDIR="${pkgs.lib.getDev pkgs.libuuid}/include"; 64 LIBUUID_LIBDIR="${pkgs.lib.getLib pkgs.libuuid}/lib"; 65 } 66 ''; 67 meta = { 68 platforms = pkgs.lib.platforms.linux; 69 }; 70 }); 71 }