summary refs log tree commit diff
path: root/pkgs/top-level
diff options
context:
space:
mode:
authoraszlig <aszlig@redmoonstudios.org>2016-03-01 23:21:25 +0100
committeraszlig <aszlig@redmoonstudios.org>2016-03-01 23:21:25 +0100
commit183ac3f2c4daa711d7e44ca6c043dc24ab27f579 (patch)
tree01e6e0a75e2ede602f8a5950c932c5472a5ba658 /pkgs/top-level
parentf70ec0de6933d5b323d71e40e63b723870a0282b (diff)
parent740b30b937ee42a3ae3596e6c9ba0a08742db5d9 (diff)
downloadnixlib-183ac3f2c4daa711d7e44ca6c043dc24ab27f579.tar
nixlib-183ac3f2c4daa711d7e44ca6c043dc24ab27f579.tar.gz
nixlib-183ac3f2c4daa711d7e44ca6c043dc24ab27f579.tar.bz2
nixlib-183ac3f2c4daa711d7e44ca6c043dc24ab27f579.tar.lz
nixlib-183ac3f2c4daa711d7e44ca6c043dc24ab27f579.tar.xz
nixlib-183ac3f2c4daa711d7e44ca6c043dc24ab27f579.tar.zst
nixlib-183ac3f2c4daa711d7e44ca6c043dc24ab27f579.zip
Merge pull request #12558 (GI-shlibpaths)
So far only .la files get correctly converted to absolute paths in the
GIR file. However if there are .so files which depend on a particular
library using GI, they still get only the basename of the .so file.

This improves on the existing absolute_shlib_path.patch not only
figuring out the absolute path of .so files but also falling back on the
absolute path of $out/lib (or $lib/lib with multiple outputs) of the
current build.

With this, we should no longer need to resort to setting LD_LIBRARY_PATH
for all programs that use GI libraries.

I'm merging this because after more than a month no issues came up so
far.
Diffstat (limited to 'pkgs/top-level')
-rw-r--r--pkgs/top-level/all-packages.nix4
1 files changed, 3 insertions, 1 deletions
diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix
index 931a7c413ca2..dd24b79e54b2 100644
--- a/pkgs/top-level/all-packages.nix
+++ b/pkgs/top-level/all-packages.nix
@@ -6871,7 +6871,9 @@ let
   #GMP ex-satellite, so better keep it near gmp
   mpfr = callPackage ../development/libraries/mpfr/default.nix { };
 
-  gobjectIntrospection = callPackage ../development/libraries/gobject-introspection { };
+  gobjectIntrospection = callPackage ../development/libraries/gobject-introspection {
+    nixStoreDir = config.nix.storeDir or builtins.storeDir;
+  };
 
   goocanvas = callPackage ../development/libraries/goocanvas { };