summary refs log tree commit diff
diff options
context:
space:
mode:
authorVincenzo Mantova <1962985+xworld21@users.noreply.github.com>2023-11-04 20:02:34 +0000
committerVincenzo Mantova <1962985+xworld21@users.noreply.github.com>2023-11-05 13:43:30 +0000
commit818d9f0baca951b57294f945af67465175167b06 (patch)
tree3d9c665f36aec5f8dabdecf9b9832409cf25aa79
parentffb9122972ba046b508ac14cf7fea31f8fa79f0a (diff)
downloadnixpkgs-818d9f0baca951b57294f945af67465175167b06.tar
nixpkgs-818d9f0baca951b57294f945af67465175167b06.tar.gz
nixpkgs-818d9f0baca951b57294f945af67465175167b06.tar.bz2
nixpkgs-818d9f0baca951b57294f945af67465175167b06.tar.lz
nixpkgs-818d9f0baca951b57294f945af67465175167b06.tar.xz
nixpkgs-818d9f0baca951b57294f945af67465175167b06.tar.zst
nixpkgs-818d9f0baca951b57294f945af67465175167b06.zip
rocmPackages.rocdbgapi: replace texlive.combine with texliveSmall.withPackages
-rw-r--r--pkgs/development/rocm-modules/5/rocdbgapi/default.nix9
1 files changed, 4 insertions, 5 deletions
diff --git a/pkgs/development/rocm-modules/5/rocdbgapi/default.nix b/pkgs/development/rocm-modules/5/rocdbgapi/default.nix
index aef89d2330d..dbc3f647815 100644
--- a/pkgs/development/rocm-modules/5/rocdbgapi/default.nix
+++ b/pkgs/development/rocm-modules/5/rocdbgapi/default.nix
@@ -8,15 +8,14 @@
 , rocm-comgr
 , rocm-runtime
 , hwdata
-, texlive
+, texliveSmall
 , doxygen
 , graphviz
 , buildDocs ? true
 }:
 
 let
-  latex = lib.optionalAttrs buildDocs texlive.combine {
-    inherit (texlive) scheme-small
+  latex = lib.optionalAttrs buildDocs (texliveSmall.withPackages (ps: with ps; [
     changepage
     latexmk
     varwidth
@@ -34,8 +33,8 @@ let
     etoc
     helvetic
     wasy
-    courier;
-  };
+    courier
+  ]));
 in stdenv.mkDerivation (finalAttrs: {
   pname = "rocdbgapi";
   version = "5.7.1";