-
-
Notifications
You must be signed in to change notification settings - Fork 14.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
poppler: remove poppler_gi variant #223577
base: staging
Are you sure you want to change the base?
Conversation
@@ -114019,7 +114019,7 @@ self: { | |||
"gi-poppler" = callPackage | |||
({ mkDerivation, base, bytestring, Cabal, containers, gi-cairo | |||
, gi-gio, gi-glib, gi-gobject, haskell-gi, haskell-gi-base | |||
, haskell-gi-overloading, poppler_gi, text, transformers | |||
, haskell-gi-overloading, poppler, text, transformers |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@NixOS/haskell does this need some update in the tooling?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Poppler actually consists of three (or four) different libraries: the native C++ API, GObject-based API and Qt-based API. |
there's no need to have a separate attr for a gi poppler
8df912f
to
4fbffe0
Compare
Added pr to cabal2nix NixOS/cabal2nix#599 |
@@ -23089,10 +23089,6 @@ with pkgs; | |||
|
|||
poppler = callPackage ../development/libraries/poppler { lcms = lcms2; }; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Maybe we should name this poppler-glib
then.
@@ -86,7 +90,8 @@ stdenv.mkDerivation (finalAttrs: rec { | |||
nss | |||
] ++ lib.optionals (qt5Support || qt6Support) [ | |||
qtbase | |||
] ++ lib.optionals introspectionSupport [ | |||
] ++ lib.optionals withIntrospection [ | |||
# TODO: REMOVE | |||
gobject-introspection | |||
]; | |||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
And change to only build GLIB in cmakeFlags
when suffix is glib here.
there's no need to have a separate attr for a gi poppler
Description of changes
Things done
sandbox = true
set innix.conf
? (See Nix manual)nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD"
. Note: all changes have to be committed, also see nixpkgs-review usage./result/bin/
)