hypnotix: Add missing circles-flags

This fixes the log spam of "Couldn't find flag
/usr/share/circle-flags-svg/xx.svg" and adds missing
icons to the location list.
This commit is contained in:
Bobby Rong
2023-09-27 07:34:49 +08:00
parent 2acaf53749
commit 7148877c11
@@ -3,6 +3,7 @@
, fetchFromGitHub
, substituteAll
, cinnamon
, circle-flags
, gettext
, gobject-introspection
, mpv
@@ -31,6 +32,7 @@ stdenv.mkDerivation rec {
postPatch = ''
substituteInPlace usr/lib/hypnotix/hypnotix.py \
--replace __DEB_VERSION__ ${version} \
--replace /usr/share/circle-flags-svg ${circle-flags}/share/circle-flags-svg \
--replace /usr/share/hypnotix $out/share/hypnotix
'';