diff --git a/pkgs/development/libraries/kde-frameworks/kfilemetadata/default.nix b/pkgs/development/libraries/kde-frameworks/kfilemetadata/default.nix index 782b03322143..1bd1f115c6cb 100644 --- a/pkgs/development/libraries/kde-frameworks/kfilemetadata/default.nix +++ b/pkgs/development/libraries/kde-frameworks/kfilemetadata/default.nix @@ -1,5 +1,6 @@ { mkDerivation , lib +, stdenv , extra-cmake-modules , attr , ebook_tools @@ -17,8 +18,9 @@ mkDerivation { pname = "kfilemetadata"; nativeBuildInputs = [ extra-cmake-modules ]; - buildInputs = [ + buildInputs = lib.optionals stdenv.isLinux [ attr + ] ++ [ ebook_tools exiv2 ffmpeg