about summary refs log tree commit diff
path: root/pkgs/by-name/nv
diff options
context:
space:
mode:
authorAnderson Torres2024-07-08 08:32:54 -0300
committerAnderson Torres2024-07-21 18:17:44 -0300
commitc7316ef96bcb8aa903455611eff3c731076f3672 (patch)
treec195a7b6a59064be0339989132e27e2bf2deb89e /pkgs/by-name/nv
parente8afe8d1683392621bf3519f1ffbbd06f26e3d5c (diff)
nv-codec-headers: hide parameter `sources`
In order to avoid clash with external overlays that use the name `source`.
Diffstat (limited to 'pkgs/by-name/nv')
-rw-r--r--pkgs/by-name/nv/nv-codec-headers/package.nix4
1 files 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 cb0c222434ce..c1183935b91c 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 ];