Merge pull request #231952 from aidalgol/zim-icon-fix
This commit is contained in:
commit
570b69e2b7
1 changed files with 14 additions and 0 deletions
|
@ -27,6 +27,20 @@ python3Packages.buildPythonApplication rec {
|
||||||
makeWrapperArgs+=("''${gappsWrapperArgs[@]}")
|
makeWrapperArgs+=("''${gappsWrapperArgs[@]}")
|
||||||
'';
|
'';
|
||||||
|
|
||||||
|
postInstall = ''
|
||||||
|
(
|
||||||
|
cd icons
|
||||||
|
for img in *.{png,svg}; do
|
||||||
|
size=''${img#zim}
|
||||||
|
size=''${size%.png}
|
||||||
|
size=''${size%.svg}
|
||||||
|
dimensions="''${size}x''${size}"
|
||||||
|
mkdir -p $out/share/icons/hicolor/$dimensions/apps
|
||||||
|
cp $img $out/share/icons/hicolor/$dimensions/apps/${pname}.png
|
||||||
|
done
|
||||||
|
)
|
||||||
|
'';
|
||||||
|
|
||||||
# RuntimeError: could not create GtkClipboard object
|
# RuntimeError: could not create GtkClipboard object
|
||||||
doCheck = false;
|
doCheck = false;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue