diff options
author | Shawn8901 <shawn8901@googlemail.com> | 2023-01-26 18:31:02 +0100 |
---|---|---|
committer | Shawn8901 <shawn8901@googlemail.com> | 2023-01-26 18:31:02 +0100 |
commit | a59dda942cbe3d40c1ae424d4d8a6db715cac0d5 (patch) | |
tree | c4d7e17a260da0a29c9690de071787d3ca62b3d2 /pkgs/development/libraries/faad2 | |
parent | aedc95590cdc13e99441684b7aca81cdbfa542ad (diff) |
treewide: remove global with lib; statements in pkgs/development
Diffstat (limited to 'pkgs/development/libraries/faad2')
-rw-r--r-- | pkgs/development/libraries/faad2/default.nix | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/pkgs/development/libraries/faad2/default.nix b/pkgs/development/libraries/faad2/default.nix index e62a90fcd2bf0..f72e6f4f95437 100644 --- a/pkgs/development/libraries/faad2/default.nix +++ b/pkgs/development/libraries/faad2/default.nix @@ -11,7 +11,6 @@ , vlc }: -with lib; stdenv.mkDerivation rec { pname = "faad2"; version = "2.10.1"; @@ -24,7 +23,7 @@ stdenv.mkDerivation rec { }; configureFlags = [] - ++ optional drmSupport "--with-drm"; + ++ lib.optional drmSupport "--with-drm"; nativeBuildInputs = [ autoreconfHook ]; @@ -34,7 +33,7 @@ stdenv.mkDerivation rec { ocaml-faad = ocamlPackages.faad; }; - meta = { + meta = with lib; { description = "An open source MPEG-4 and MPEG-2 AAC decoder"; homepage = "https://sourceforge.net/projects/faac/"; license = licenses.gpl2Plus; |