[Nix-dev] Wrapping single python executable in pulseaudio /bin

Joachim Schiele js at lastlog.de
Sun Jun 12 00:44:40 CEST 2016


On 11.06.2016 20:51, Profpatsch wrote:
> pulseaudio contains a python script called qpaeq which is not
> correctly packaged yet.
> 
> First, the shebang needs to be patched. I managed to achieve that
> by call wrapPythonPrograms in postInstall.
> 
> Second, the scripts has a dependency on pythonPackages.pyqt4. I
> tried inserting that into every *buildDepends, but to no avail,
> the script isn’t aware of the library.
> 
> What can I do about that?

i have bad news for your:

in order to package pyqt4 properly you have to invest quite some time.
please read:

https://github.com/NixOS/nixpkgs/issues/4904



More information about the nix-dev mailing list