Change:
, perl, MusicBrainz, MusicBrainzDiscID , makeWrapper }: <del> let version = "2.8.1"; </del> <ins> let version = "2.9.2"; </ins> in stdenv.mkDerivation { name = "abcde-${version}"; src = fetchurl { url = "https://abcde.einval.com/download/abcde-${version}.tar.gz"; <del> sha256 = "0f9bjs0phk23vry7gvh0cll9vl6kmc1y4fwwh762scfdvpbp3774"; </del> <ins> sha256 = "13c5yvp87ckqgha160ym5rdr1a4divgvyqbjh0yb6ffclip6qd9l"; </ins> }; # FIXME: This package does not support `distmp3', `eject', etc. <del> patches = [ ./abcde.patch ]; </del> configurePhase = '' sed -i "s|^[[:blank:]]*prefix *=.*$|prefix = $out|g ; s|^[[:blank:]]*etcdir *=.*$|etcdir = $out/etc|g ; s|^[[:blank:]]*INSTALL *=.*$|INSTALL = install -c|g"  "Makefile"; <del> # We use `cd-paranoia' from GNU libcdio, which contains a hyphen # in its name, unlike Xiph's cdparanoia. sed -i "s|^[[:blank:]]*CDPARANOIA=.*$|CDPARANOIA=cd-paranoia|g ; s|^[[:blank:]]*DEFAULT_CDROMREADERS=.*$|DEFAULT_CDROMREADERS="cd-paranoia cdda2wav"|g"  "abcde" </del> <ins> echo 'CDPARANOIA=${libcdio-paranoia}/bin/cd-paranoia' >>abcde.conf echo CDROMREADERSYNTAX=cdparanoia >>abcde.conf </ins> substituteInPlace "abcde"  --replace "/etc/abcde.conf" "$out/etc/abcde.conf" ''; <del> buildInputs = [ makeWrapper ]; </del> <ins> nativeBuildInputs = [ makeWrapper ]; </ins> <del> propagatedBuildInputs = [ perl MusicBrainz MusicBrainzDiscID ]; </del> <ins> buildInputs = [ perl MusicBrainz MusicBrainzDiscID ]; </ins> installFlags = [ "sysconfdir=$(out)/etc" ]; postFixup = '' for cmd in abcde cddb-tool abcde-musicbrainz-tool; do <del> wrapProgram "$out/bin/$cmd" --prefix PATH ":"  ${stdenv.lib.makeBinPath [ "$out" which libcdio-paranoia cddiscid wget vorbis-tools id3v2 eyeD3 lame flac glyr ]} </del> <ins> wrapProgram "$out/bin/$cmd"  --prefix PERL5LIB : "$PERL5LIB"  --prefix PATH ":" ${stdenv.lib.makeBinPath [ "$out" which libcdio-paranoia cddiscid wget vorbis-tools id3v2 eyeD3 lame flac glyr ]} </ins> done ''; <del> meta = { </del> <ins> meta = with stdenv.lib; { </ins> homepage = http://abcde.einval.com/wiki/; <del> license = stdenv.lib.licenses.gpl2Plus; </del> <ins> license = licenses.gpl2Plus; maintainers = with maintainers; [ gebner ]; </ins> description = "Command-line audio CD ripper"; longDescription = '' abcde is a front-end command-line utility (actually, a shell script) that grabs tracks off a CD, encodes them to Ogg/Vorbis, MP3, FLAC, Ogg/Speex and/or MPP/MP+ (Musepack) format, and tags them, all in one go. ''; <del> platforms = stdenv.lib.platforms.linux; </del> <ins> platforms = platforms.linux; </ins> }; }

Discussion:
MusicBrainz-based metadata collection does not work in . The problem is that the Perl modules cannot be found. Full error message: This should be an easy fix for anyone who knows about Perl in nixpkgs. 1) Install globally (not in ). 2) Make sure includes . 3) Insert a CD. 4) Run .
That dependency seems to be included already. I don't have a CD drive. Is there an other way to reproduce?
I am experiencing this problem too. Even without a CD drive, you should be able to reproduce simply by running . This is an auxiliary program invoked by , a wrapped Perl script that will immediately attempt to import the module in question: and fail as described. I have been able to get partway there by manually prefixing with a PERL5LIB environment variable: That invocation dies with and then presumably I can go find that and add it to the manual PERL5LIB, but now I'm chasing all the dependencies manually. There's no though, right? I don't know how to refer to a Perl that has all required dependencies.
Backported to release-18.09: .
Can confirm that this is working. :+1:
It's broken anyway. I just tried and it install a huge bunch of stuff but ended up with: BFAIST/WebService-MusicBrainz- Has already been unwrapped into directory Configuring B/BF/BFAIST/WebService-MusicBrainz- with Build.PL Created and Creating new 'Build' script for 'WebService-MusicBrainz' version '0.94' BFAIST/WebService-MusicBrainz- /usr/bin/perl Build.PL --installdirs site -- OK Running Build for B/BF/BFAIST/WebService-MusicBrainz- Building WebService-MusicBrainz BFAIST/WebService-MusicBrainz- ./Build -- OK Running Build test t/Artist.t ........ 1/? URL () Request Failed - Code: 410 Error: Gone # Tests were run but no plan was declared and donetesting() was not seen. # Looks like your test exited with 255 just after 3. t/Artist.t ........ Dubious, test returned 255 (wstat , 0xff00) All 3 subtests passed t/Label.t ......... ok t/Release.t ....... 1/?

URL () Request Failed - Code: 410 Error: Gone # Tests were run but no plan was declared and donetesting() was not seen. # Looks like your test exited with 255 just after 3. t/Release.t ....... Dubious, test returned 255 (wstat , 0xff00) All 3 subtests passed t/ReleaseGroup.t .. ok t/Track.t ......... ok Test Summary Report t/Artist.t (Wstat: Tests: 3 Failed: 0) Non-zero exit status: 255 Parse errors: No plan found in TAP output t/Release.t (Wstat: Tests: 3 Failed: 0) Non-zero exit status: 255 Parse errors: No plan found in TAP output Files=5, Tests=15, 7 wallclock secs ( 0.03 usr 0.01 sys + 0.52 cusr 0.07 csys = 0.63 CPU) Result: FAIL Failed 2/5 test programs. 0/15 subtests failed. BFAIST/WebService-MusicBrainz- ./Build test -- NOT OK //hint// to see the cpan-testers results for installing this module, try: reports BFAIST/WebService-MusicBrainz- $ I'm not a Perlie, so I have no idea how to report this or where to fix it.