nixpkgs/pkgs/tools/package-management
Tuomas Tynkkynen c0aada1e1f rpm: Hack fix finding libpython when compiling for Python 3
Currently, building RPM with `python = python3` causes this:

checking for a Python interpreter with version >= 2.6... python3
checking for python3... /nix/store/dykqxnrwiz9drlcv2wy8lpvl3xvklx0g-python3-3.4.3/bin/python3
checking for python3 version... 3.4
checking for Python.h... yes
checking for library containing Py_Main... no
configure: error: missing python library

That comes from this snippet in configure.ac:
    AC_SEARCH_LIBS([Py_Main],[python${PYTHON_VERSION} python],[
      WITH_PYTHON_LIB="$ac_res"
    ],[AC_MSG_ERROR([missing python library])
    ])

So it's looking for (e.g) `libpython3.4.so` wheras we have `libpython3.4m.so`.
Patching the configure script to match seems to make that work (although
I don't really understand what the heck is this 'm' business about).
2015-12-28 02:16:23 +02:00
..
checkinstall checkinstall: Fix RPM builds 2014-11-13 13:57:33 +01:00
clib clib: a micro-package manager for C 2015-06-23 00:35:03 -07:00
disnix dysnomia: bump to version 0.4.1 2015-10-24 18:23:47 +00:00
dpkg Convert some *Flags from strings to lists 2015-11-26 23:45:31 +01:00
guix unmaintain a bunch of packages 2015-01-13 22:33:49 +01:00
koji koji: factor python module into an standalone app 2014-08-30 21:08:49 +02:00
nix nixUnstable: Update to 1.11pre4273_71039be 2015-10-31 00:22:32 +01:00
nix-prefetch-scripts nix-prefetch-scripts: Split into multiple derivations 2015-12-04 14:38:41 +02:00
nix-repl nix-repl: Update 2015-09-08 10:41:13 +02:00
nix-serve nix-serve: Update 2015-06-18 19:29:39 -07:00
nixops Remove nixops unstable expression, until we reintroduce it again. Currently it is not referenced, as nixopsUnstable = nixops. 2015-09-30 12:49:11 +00:00
nixui nixui: upgrade to 0.2.1 2015-11-17 12:28:22 +01:00
nox nox: use propagatedBuildInputs instead of pythonPath, fixes #9633 2015-09-03 12:51:47 +02:00
opkg opkg: update from 0.2.4 to 3.0.0 2015-06-08 16:19:42 +02:00
opkg-utils opkg-utils: new package 2014-11-05 21:58:12 +01:00
packagekit packagekit: fix typo urmpi -> urpmi 2015-11-24 01:40:41 +01:00
python2nix python2nix: update to latest 2014-09-27 20:09:08 +02:00
rpm rpm: Hack fix finding libpython when compiling for Python 3 2015-12-28 02:16:23 +02:00