Skip to content

Commit 395b04b

Browse files
astratagemdoronbehar
authored andcommitted
beetsPackages.copyartifacts: beets 2.1.0 compat
1 parent 33e9c10 commit 395b04b

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

pkgs/tools/audio/beets/plugins/copyartifacts.nix

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,10 @@ python3Packages.buildPythonApplication rec {
2020
sed -i -e '/install_requires/,/\]/{/beets/d}' setup.py
2121
sed -i -e '/namespace_packages/d' setup.py
2222
printf 'from pkgutil import extend_path\n__path__ = extend_path(__path__, __name__)\n' >beetsplug/__init__.py
23+
24+
# beets v2.1.0 compat
25+
# <https://github.com/beetbox/beets/commit/0e87389994a9969fa0930ffaa607609d02e286a8>
26+
sed -i -e 's/util\.py3_path/os.fsdecode/g' tests/_common.py
2327
'';
2428

2529
pytestFlagsArray = [ "-r fEs" ];

0 commit comments

Comments
 (0)