taglib-extras: add missing dependency zlib

This change adds zlib as a dependency to address the error:

```
/nix/store/5xyjd2qiily84lcv2w2grmwsb8r1hqpr-binutils-2.35.1/bin/ld: cannot find -lz
collect2: error: ld returned 1 exit status
make[2]: *** [taglib-extras/CMakeFiles/tag-extras.dir/build.make:208:
taglib-extras/libtag-extras.so.1.0.0] Error 1
make[1]: *** [CMakeFiles/Makefile2:154:
taglib-extras/CMakeFiles/tag-extras.dir/all] Error 2
make: *** [Makefile:149: all] Error 2
builder for
'/nix/store/w1ac3b6v5yfblbnqzyxa6y4738frlmvr-taglib-extras-1.0.1.drv'
failed with exit code 2
```

ZHF: #122042
This commit is contained in:
Emmanuel Rosa 2021-05-15 14:15:09 +07:00
parent a2c3ea5bf8
commit 281c5413df

View File

@ -1,4 +1,4 @@
{lib, stdenv, fetchurl, cmake, taglib}:
{lib, stdenv, fetchurl, cmake, taglib, zlib}:
stdenv.mkDerivation rec {
name = "taglib-extras-1.0.1";
@ -7,7 +7,7 @@ stdenv.mkDerivation rec {
sha256 = "0cln49ws9svvvals5fzxjxlzqm0fzjfymn7yfp4jfcjz655nnm7y";
};
buildInputs = [ taglib ];
nativeBuildInputs = [ cmake ];
nativeBuildInputs = [ cmake zlib ];
# Workaround for upstream bug https://bugs.kde.org/show_bug.cgi?id=357181
preConfigure = ''