From 5b36fa169886225e06aa3c1412f3fbf07ab74096 Mon Sep 17 00:00:00 2001 From: Weijia Wang <9713184+wegank@users.noreply.github.com> Date: Thu, 20 Apr 2023 19:19:19 +0300 Subject: [PATCH] plasma5Packages.kfilemetadata: refactor --- .../libraries/kde-frameworks/kfilemetadata/default.nix | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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