From 32a1b56a7435c49650d4461eea854b6bfae3b09f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sandro=20J=C3=A4ckel?= Date: Tue, 26 Apr 2022 14:43:51 +0200 Subject: [PATCH] vapoursynth: reduce with usage --- pkgs/development/libraries/vapoursynth/default.nix | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/pkgs/development/libraries/vapoursynth/default.nix b/pkgs/development/libraries/vapoursynth/default.nix index b78db1673168..6abc58494da6 100644 --- a/pkgs/development/libraries/vapoursynth/default.nix +++ b/pkgs/development/libraries/vapoursynth/default.nix @@ -4,8 +4,6 @@ , ApplicationServices }: -with lib; - stdenv.mkDerivation rec { pname = "vapoursynth"; version = "R58"; @@ -25,7 +23,7 @@ stdenv.mkDerivation rec { buildInputs = [ zimg libass (python3.withPackages (ps: with ps; [ sphinx cython ])) - ] ++ optionals stdenv.isDarwin [ libiconv ApplicationServices ]; + ] ++ lib.optionals stdenv.isDarwin [ libiconv ApplicationServices ]; enableParallelBuilding = true; @@ -58,5 +56,4 @@ stdenv.mkDerivation rec { platforms = platforms.x86_64; maintainers = with maintainers; [ rnhmjoj sbruder tadeokondrak ]; }; - }