mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-22 23:13:19 +00:00
slimserver: Fix bug in scanner
The nixpkgs version of FileNext Perl package (1.18) is incompatible with slimserver. Using it make the scanner skips most of the file. See https://github.com/LMS-Community/slimserver/pull/1140 Using the vendor version (1.06) fixes the issue.
This commit is contained in:
parent
eff9cc9ccb
commit
93da4cdf11
@ -78,7 +78,7 @@ perlPackages.buildPerlPackage rec {
|
||||
ExporterLite
|
||||
FileBOM
|
||||
FileCopyRecursive
|
||||
FileNext
|
||||
# FileNext # https://github.com/LMS-Community/slimserver/pull/1140
|
||||
FileReadBackwards
|
||||
FileSlurp
|
||||
FileWhich
|
||||
@ -125,10 +125,11 @@ perlPackages.buildPerlPackage rec {
|
||||
rm -rf Bin
|
||||
|
||||
# remove most vendored modules, keeping necessary ones
|
||||
mkdir -p CPAN_used/Class/C3/ CPAN_used/SQL
|
||||
mkdir -p CPAN_used/Class/C3/ CPAN_used/SQL/ CPAN_used/File/
|
||||
rm -r CPAN/SQL/Abstract/Limit.pm
|
||||
cp -rv CPAN/Class/C3/Componentised.pm CPAN_used/Class/C3/
|
||||
cp -rv CPAN/DBIx CPAN_used/
|
||||
cp -rv CPAN/File/Next.pm CPAN_used/File/
|
||||
cp -rv CPAN/Log CPAN_used/
|
||||
cp -rv CPAN/SQL/* CPAN_used/SQL/
|
||||
rm -r CPAN
|
||||
|
Loading…
Reference in New Issue
Block a user