nixpkgs/pkgs/development
aszlig c83e697aa0
gobject-introspection: Add fallback for libraries
After patching up the shared libraries in c420de6 to use absolute paths,
there are still some libraries left which do not get an absolute paths
assigned.

Those libraries are the ones which have an absolute path outside of the
Nix store, so we assume that they're build products of the current build
and make them absolute by prepending "$out/lib" or "$lib/lib" (depending
on whether it's a multiple output derivation or not) to its basename.

So for my test case, the resulting library paths now look like this:

  /nix/store/...-libblockdev-1.3/lib/libblockdev.so.0
  /nix/store/...-glibc-2.21/lib/libm.so.6
  /nix/store/...-dmraid-1.0.0.rc16/lib/libdmraid.so.1.0.0.rc16
  /nix/store/...-libblockdev-1.3/lib/libbd_utils.so.0

Which is perfectly fine and everything gets resolved correctly after
importing the library using GI.

However, I didn't test it against other libraries and programs, so this
still needs testing, especially for Darwin.

Signed-off-by: aszlig <aszlig@redmoonstudios.org>
2016-01-22 22:46:14 +01:00
..
arduino platformio: init at 2.7.0 2016-01-06 04:09:52 -05:00
compilers elm: recurseIntroAtrs and use GHC 7.10.3 2016-01-22 13:39:18 +01:00
coq-modules coq-interval: 2.1.0 -> 2.2.1 2016-01-06 09:35:05 +01:00
dotnet-modules/patches Lay down the foundation for packaging the .NET echosystem 2015-06-06 09:06:22 -04:00
eclipse ecj: require jdk7 instead of jdk 2015-07-27 17:37:37 +02:00
erlang-modules Update hex-packages.nix with hermetic rebar3. 2016-01-19 12:58:43 +01:00
go-modules go builder: respect enableParallelBuilding 2016-01-21 17:11:28 +01:00
guile-modules guile-gnome-platform: 2.16.1 -> 2015/01/23 git 2015-07-23 04:13:03 -05:00
haskell-modules hackage-packages.nix: update Haskell package set 2016-01-22 22:23:00 +01:00
idris-modules idris-wl-pprint: Use fetchFromGitHub 2015-11-28 05:53:50 -05:00
interpreters rubygems: 2.4.1 -> 2.4.8, fixes #8492 2016-01-20 03:36:36 +01:00
libraries gobject-introspection: Add fallback for libraries 2016-01-22 22:46:14 +01:00
lisp-modules asdf: 3.1.5 -> 3.1.6 2016-01-01 12:30:17 +03:00
lua-modules
misc avr-gcc-with-avr-libc: remove unused gcc-4.6 patch 2015-02-22 12:41:14 +01:00
mobile Renamed subdirectories in Android SKD's build-tools 2016-01-18 00:42:54 +01:00
ocaml-modules Merge pull request #12064 from FlorentBecker/eliom42 2016-01-18 09:32:48 +01:00
perl-modules perl-DBIx-Class: fix tests 2015-11-30 14:50:42 +01:00
pharo Refactor Pharo to allow co-installation of VMs 2016-01-18 20:14:19 +01:00
pure-modules x11: replace its usage by xlibsWrapper directly 2015-09-15 12:08:24 +02:00
python-modules multipath_tools: Rename to multipath-tools 2016-01-21 16:18:38 +01:00
qtcreator qtcreator: 3.5.1 -> 3.6.0 2016-01-15 19:19:42 -05:00
r-modules R: fix Darwin build 2016-01-06 22:20:40 +01:00
ruby-modules
tools rebar3-nix-bootstrap: 0.0.2 -> 0.0.3 2016-01-19 12:58:33 +01:00
web nodejs: 5.1.1 -> 5.4.1 2016-01-21 10:31:18 +01:00