nixpkgs/pkgs/top-level
Uli Schlachter 718552eca4 lgi: Fix cairo bindings search path
Since commit e44038bcca, cairo-1.0.typelib contains an absolute
path to cairo in the nix store so that no $LD_LIBRARY_PATH hacks are
needed. However, this did not yet work for lgi, because lgi does
dlopen("libcairo.so.2") without a full path, too.

To make this work, this commit ensures that lgi first uses
gobject-introspection to load libcairo. This uses the full path provided
by the typelib. Afterwards, dlopen("libcairo.so.2") does not hit the
filesystem anymore since the library is already loaded.

This commit adds a patch that reorders some code in lgi's cairo
initialisation. Previously, this started with core.module('cairo', 2),
which is where the dlopen happens. Now, this code is moved down and
instead core.gi.cairo.resolve is used to load the definitions of some
enums first. This part of the code goes through gobject-introspection
and causes libcairo to be loaded.

Signed-off-by: Uli Schlachter <psychon@znc.in>
2018-02-04 11:23:35 +01:00
..
aliases.nix Merge remote-tracking branch 'upstream/master' into staging 2018-02-03 02:50:21 +02:00
all-packages.nix Merge pull request #34567 from holidaycheck/add-grobi 2018-02-04 08:04:42 +00:00
beam-packages.nix Elixir: 1.6-rc -> 1.6 2018-01-17 14:22:48 -05:00
coq-packages.nix coqPackages.tlc: init at 20171206 2017-12-28 08:19:54 +01:00
darwin-packages.nix Merge pull request #25713 from jbaum98/darwin-trash 2018-01-12 09:34:03 +01:00
default.nix Add setFunctionArgs lib function. 2018-01-31 14:02:19 -05:00
dotnet-packages.nix treewide: homepage+src updates (found by repology, #33263) 2018-01-05 20:42:46 +01:00
emacs-packages.nix Merge pull request #31561 from mdorman/emacs-pdf-tools 2017-11-16 13:36:21 +01:00
emscripten-packages.nix misc pkgs: Manual fixup pkgconfig nativeBuildInputs after sed 2017-09-21 15:49:54 -04:00
haskell-packages.nix Drop broken Haskell compilers. 2018-01-26 13:01:11 +01:00
haxe-packages.nix Revert "Merge pull request #28557 from obsidiansystems/binutils-wrapper" 2017-09-07 12:51:21 +02:00
impure.nix treewide: Escape backslash in strings properly 2017-09-14 01:03:39 +03:00
java-packages.nix
lua-packages.nix lgi: Fix cairo bindings search path 2018-02-04 11:23:35 +01:00
make-tarball.nix make-tarball.nix: Fix <nixpkgs> check 2017-12-07 16:00:09 +01:00
metrics.nix nixpkgs.metrics: --show-trace into the log 2017-11-25 07:07:27 +01:00
ocaml-packages.nix ocamlPackages.uri: 1.9.2 -> 1.9.5 2018-01-14 05:28:49 +00:00
perl-packages.nix perl-CryptX: 0.055 -> 0.057 2018-02-03 17:06:13 +01:00
php-packages.nix Merge pull request #34496 from etu/php722 2018-02-03 22:32:42 +08:00
pure-packages.nix
python-packages.nix Merge pull request #34079 from ixxie/oauthenticator 2018-02-03 12:02:56 +00:00
release-cross.nix release-cross: Try building on Windows too 2018-01-22 11:29:15 -05:00
release-lib.nix nixos/release.nix: Move forAllSystems to release-lib 2018-01-16 18:56:41 +02:00
release-python.nix
release-small.nix release-small: Don't attempt to access "dbus.libs", etc., don't exist 2018-01-12 18:06:53 -06:00
release.nix linux bootstrap tools: Use same derivation whether cross compiling or not 2018-01-02 13:52:41 -05:00
splice.nix top-level: Splice in more package sets for new types of deps 2017-12-30 22:04:20 -05:00
stage.nix top-level: Duplicate overlaying unless stdenvOverrides comes last 2018-01-31 00:16:27 -05:00