mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-28 14:22:50 +03:00
tribler: strip pngs (close #8810)
This prevents libpng exceptions from being thrown. Accepted upstream: https://github.com/Tribler/tribler/pull/1561
This commit is contained in:
parent
068db75d68
commit
225ae4c5f8
@ -1,4 +1,4 @@
|
||||
{ stdenv, fetchurl, pythonPackages, makeWrapper, nettools, libtorrentRasterbar
|
||||
{ stdenv, fetchurl, pythonPackages, makeWrapper, nettools, libtorrentRasterbar, imagemagick
|
||||
, enablePlayer ? false, vlc ? null }:
|
||||
|
||||
|
||||
@ -15,6 +15,7 @@ stdenv.mkDerivation rec {
|
||||
pythonPackages.python
|
||||
pythonPackages.wrapPython
|
||||
makeWrapper
|
||||
imagemagick
|
||||
];
|
||||
|
||||
pythonPath = [
|
||||
@ -36,6 +37,7 @@ stdenv.mkDerivation rec {
|
||||
|
||||
installPhase =
|
||||
''
|
||||
find . -name '*.png' -exec convert -strip {} {} \;
|
||||
# Nasty hack; call wrapPythonPrograms to set program_PYTHONPATH.
|
||||
wrapPythonPrograms
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user