summary refs log tree commit diff
diff options
context:
space:
mode:
authorBobby Rong <rjl931189261@126.com>2023-09-26 21:07:18 +0800
committerBobby Rong <rjl931189261@126.com>2023-09-27 07:34:49 +0800
commit7148877c114fb9c4727724ddd2f07b3efb6efa90 (patch)
tree883869621b3ffccb180cfc4fb1521fdd9be11b19
parent2acaf53749d8e577e380045bacf78bf4dddbdd81 (diff)
downloadnixpkgs-7148877c114fb9c4727724ddd2f07b3efb6efa90.tar
nixpkgs-7148877c114fb9c4727724ddd2f07b3efb6efa90.tar.gz
nixpkgs-7148877c114fb9c4727724ddd2f07b3efb6efa90.tar.bz2
nixpkgs-7148877c114fb9c4727724ddd2f07b3efb6efa90.tar.lz
nixpkgs-7148877c114fb9c4727724ddd2f07b3efb6efa90.tar.xz
nixpkgs-7148877c114fb9c4727724ddd2f07b3efb6efa90.tar.zst
nixpkgs-7148877c114fb9c4727724ddd2f07b3efb6efa90.zip
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.
-rw-r--r--pkgs/applications/video/hypnotix/default.nix2
1 files changed, 2 insertions, 0 deletions
diff --git a/pkgs/applications/video/hypnotix/default.nix b/pkgs/applications/video/hypnotix/default.nix
index b94acdecc54..74d2389fce7 100644
--- a/pkgs/applications/video/hypnotix/default.nix
+++ b/pkgs/applications/video/hypnotix/default.nix
@@ -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
   '';