diff options
author | Tuomas Tynkkynen <tuomas.tynkkynen@iki.fi> | 2015-10-16 21:49:59 +0300 |
---|---|---|
committer | Vladimír Čunát <vcunat@gmail.com> | 2015-10-28 10:22:15 +0100 |
commit | 8ec6f85c4eb91d70f6c371dbaf4a6edf60d15201 (patch) | |
tree | 5c751b306bb103630a81233053e4a324ca7d376c /pkgs/development/libraries/gobject-introspection | |
parent | db81e221487e8f97018b15c20270044c24c6e918 (diff) | |
download | nixpkgs-8ec6f85c4eb91d70f6c371dbaf4a6edf60d15201.tar nixpkgs-8ec6f85c4eb91d70f6c371dbaf4a6edf60d15201.tar.gz nixpkgs-8ec6f85c4eb91d70f6c371dbaf4a6edf60d15201.tar.bz2 nixpkgs-8ec6f85c4eb91d70f6c371dbaf4a6edf60d15201.tar.lz nixpkgs-8ec6f85c4eb91d70f6c371dbaf4a6edf60d15201.tar.xz nixpkgs-8ec6f85c4eb91d70f6c371dbaf4a6edf60d15201.tar.zst nixpkgs-8ec6f85c4eb91d70f6c371dbaf4a6edf60d15201.zip |
gobject-introspection: Don't delete $out/share/gobject-introspection-1.0/tests
Otherwise breaks pygobject3 compilation. vcunat added comment. (Commit reordering changed this a bit.)
Diffstat (limited to 'pkgs/development/libraries/gobject-introspection')
-rw-r--r-- | pkgs/development/libraries/gobject-introspection/default.nix | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/pkgs/development/libraries/gobject-introspection/default.nix b/pkgs/development/libraries/gobject-introspection/default.nix index 226fbd2835b..2de0d23d213 100644 --- a/pkgs/development/libraries/gobject-introspection/default.nix +++ b/pkgs/development/libraries/gobject-introspection/default.nix @@ -23,13 +23,17 @@ stdenv.mkDerivation rec { ++ stdenv.lib.optional stdenv.isDarwin otool; propagatedBuildInputs = [ libffi glib ]; - # Tests depend on cairo, which is undesirable (it pulls in lots of - # other dependencies). - configureFlags = [ "--disable-tests" ]; - preConfigure = '' sed 's|/usr/bin/env ||' -i tools/g-ir-tool-template.in ''; + configureFlags = [ + # Tests depend on cairo, which is undesirable (it pulls in lots of + # other dependencies). + "--disable-tests" + ]; + + # outputs TODO: share/gobject-introspection-1.0/tests is needed during build + # by pygobject3 (and maybe others), but it's only searched in $out setupHook = ./setup-hook.sh; |