diff --git a/common/packages.nix b/common/packages.nix index b47fe6d..6fea459 100644 --- a/common/packages.nix +++ b/common/packages.nix @@ -92,7 +92,7 @@ in version = "≥1.88"; # Required by volkerdobler.insertnums gappsWrapperArgs = "--unset NIXOS_OZONE_WL"; # Workaround for mangled keybindings }; - whipper.patch = [ ../packages/resources/whipper_speed.patch ../packages/resources/whipper_detect-tty.patch ]; + whipper.patch = [ ../packages/resources/whipper_flac-level.patch ../packages/resources/whipper_speed.patch ../packages/resources/whipper_detect-tty.patch ]; yaru-theme.patch = ../packages/resources/yaru-theme_font.patch; # Set GNOME Shell font ydotool.patch = ../packages/resources/ydotool-halmakish.patch; # Pending ReimuNotMoe/ydotool#177 zsh-abbr.condition = z: !z.meta.unfree; diff --git a/packages/resources/whipper_flac-level.patch b/packages/resources/whipper_flac-level.patch new file mode 100644 index 0000000..e47ade6 --- /dev/null +++ b/packages/resources/whipper_flac-level.patch @@ -0,0 +1,7 @@ +--- a/whipper/program/flac.py ++++ b/whipper/program/flac.py +@@ -16,3 +16,3 @@ def encode(infile, outfile): + check_call(['flac', '--silent', '--verify', '-o', outfile, +- '-f', infile]) ++ '-f', '--compression-level-5', infile]) + except CalledProcessError: