From c7316ef96bcb8aa903455611eff3c731076f3672 Mon Sep 17 00:00:00 2001 From: Anderson Torres Date: Mon, 8 Jul 2024 08:32:54 -0300 Subject: [PATCH] nv-codec-headers: hide parameter `sources` In order to avoid clash with external overlays that use the name `source`. --- pkgs/by-name/nv/nv-codec-headers/package.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/by-name/nv/nv-codec-headers/package.nix b/pkgs/by-name/nv/nv-codec-headers/package.nix index cb0c222434cee..c1183935b91ca 100644 --- a/pkgs/by-name/nv/nv-codec-headers/package.nix +++ b/pkgs/by-name/nv/nv-codec-headers/package.nix @@ -3,11 +3,11 @@ callPackage, stdenvNoCC, # Configurable options - sources ? callPackage ./sources.nix { }, majorVersion ? "9", }: let + sources = callPackage ./sources.nix { }; pick = { "8" = sources.nv-codec-headers-8; "9" = sources.nv-codec-headers-9; @@ -28,7 +28,7 @@ stdenvNoCC.mkDerivation { }; meta = { - description = "FFmpeg version of headers for NVENC - version ${pick.version}"; + description = "FFmpeg version of headers for NVENC - major version ${pick.version}"; homepage = "https://ffmpeg.org/"; downloadPage = "https://git.videolan.org/?p=ffmpeg/nv-codec-headers.git"; license = with lib.licenses; [ mit ];