mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-22 14:45:27 +00:00
Fix .deepOverride on poppler, glib
By moving the default derivation into callPackage call, close #1115.
This commit is contained in:
parent
a13ed71b43
commit
78f7baf3b7
|
@ -77,7 +77,8 @@ let
|
|||
});
|
||||
|
||||
|
||||
in rec {
|
||||
attrs = rec {
|
||||
# If you change much fix indentation
|
||||
|
||||
# This package has been split because most applications only need dbus.lib
|
||||
# which serves as an interface to a *system-wide* daemon,
|
||||
|
@ -114,4 +115,5 @@ in rec {
|
|||
docs = dbus_drv "docs" "doc" {
|
||||
postInstall = ''rm -r "$out/lib"'';
|
||||
};
|
||||
}
|
||||
};
|
||||
in attrs.libs // attrs
|
||||
|
|
|
@ -54,7 +54,6 @@ let
|
|||
};
|
||||
} merge ]); # poppler_drv
|
||||
|
||||
in rec {
|
||||
/* We always use cairo in poppler, so we always depend on glib,
|
||||
so we always build the glib wrapper (~350kB).
|
||||
We also always build the cpp wrapper (<100kB).
|
||||
|
@ -69,4 +68,5 @@ in rec {
|
|||
NIX_LDFLAGS = "-lpoppler";
|
||||
postConfigure = "cd qt4";
|
||||
};
|
||||
}
|
||||
|
||||
in { inherit poppler_glib poppler_qt4; } // poppler_glib
|
||||
|
|
|
@ -4008,8 +4008,7 @@ let
|
|||
|
||||
db48 = callPackage ../development/libraries/db4/db4-4.8.nix { };
|
||||
|
||||
dbus = let dbus_all = callPackage ../development/libraries/dbus { };
|
||||
in dbus_all.libs // dbus_all; # previously dbus.libs also contained the daemon
|
||||
dbus = callPackage ../development/libraries/dbus { };
|
||||
dbus_cplusplus = callPackage ../development/libraries/dbus-cplusplus { };
|
||||
dbus_glib = callPackage ../development/libraries/dbus-glib { };
|
||||
dbus_java = callPackage ../development/libraries/java/dbus-java { };
|
||||
|
@ -5394,8 +5393,7 @@ let
|
|||
|
||||
policykit = callPackage ../development/libraries/policykit { };
|
||||
|
||||
poppler = let popplers = callPackage ../development/libraries/poppler { lcms = lcms2; };
|
||||
in popplers // popplers.poppler_glib;
|
||||
poppler = callPackage ../development/libraries/poppler { lcms = lcms2; };
|
||||
popplerQt4 = poppler.poppler_qt4;
|
||||
|
||||
poppler_0_18 = callPackage ../development/libraries/poppler/0.18.nix {
|
||||
|
|
Loading…
Reference in a new issue