The system package cairo-object is called cairo in Nixpkgs.
Thanks to @k0ral for pointing this out.
I've edited the redundant cairo -> cairo mapping for this purpose
instead of adding a new one. Not sure why that mapping was there in the
first place.
Fixes https://github.com/NixOS/cabal2nix/issues/235.
commit41e12d1b41117c69227a3f70f7e7398377727cf7
authorPeter Simons <simons@cryp.to>
dateFri 15 Jul 2016, 12:55 (10 years ago)
parentb156b94
src/Distribution/Nixpkgs/Haskell/FromCabal/Name.hs+1−1
@@ -28,7 +28,7 @@ libNixName "awesomium-1.6.5" = return "awesomium"
2828libNixName "b2" = return "libb2"
2929libNixName "bz2" = return "bzip2"
3030libNixName "c++" = [] -- What is that?
31−libNixName "cairo" = return "cairo"
31+libNixName "cairo-gobject" = return "cairo"
3232libNixName "cairo-pdf" = return "cairo"
3333libNixName "cairo-ps" = return "cairo"
3434libNixName "cairo-svg" = return "cairo"