Fix .deepOverride on poppler, glib
By moving the default derivation into callPackage call, close #1115.
This commit is contained in:
committed by
Vladimír Čunát
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
|
||||
|
||||
Reference in New Issue
Block a user