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
commitffb9122972ba046b508ac14cf7fea31f8fa79f0a (patch)
treef1958da72ada681327fc69b09ee1ba564f2bb177
parentfc2a6b8606535dee5aad4160acda488be686c725 (diff)
downloadnixpkgs-ffb9122972ba046b508ac14cf7fea31f8fa79f0a.tar
nixpkgs-ffb9122972ba046b508ac14cf7fea31f8fa79f0a.tar.gz
nixpkgs-ffb9122972ba046b508ac14cf7fea31f8fa79f0a.tar.bz2
nixpkgs-ffb9122972ba046b508ac14cf7fea31f8fa79f0a.tar.lz
nixpkgs-ffb9122972ba046b508ac14cf7fea31f8fa79f0a.tar.xz
nixpkgs-ffb9122972ba046b508ac14cf7fea31f8fa79f0a.tar.zst
nixpkgs-ffb9122972ba046b508ac14cf7fea31f8fa79f0a.zip
rocmPackages.rdc: replace texlive.combine with texliveSmall.withPackages
-rw-r--r--pkgs/development/rocm-modules/5/rdc/default.nix9
1 files changed, 4 insertions, 5 deletions
diff --git a/pkgs/development/rocm-modules/5/rdc/default.nix b/pkgs/development/rocm-modules/5/rdc/default.nix
index abdd121bce3..8b447454fc4 100644
--- a/pkgs/development/rocm-modules/5/rdc/default.nix
+++ b/pkgs/development/rocm-modules/5/rdc/default.nix
@@ -11,15 +11,14 @@
 , openssl
 , doxygen
 , graphviz
-, texlive
+, texliveSmall
 , gtest
 , buildDocs ? true
 , buildTests ? false
 }:
 
 let
-  latex = lib.optionalAttrs buildDocs texlive.combine {
-    inherit (texlive) scheme-small
+  latex = lib.optionalAttrs buildDocs (texliveSmall.withPackages (ps: with ps; [
     changepage
     latexmk
     varwidth
@@ -37,8 +36,8 @@ let
     etoc
     helvetic
     wasy
-    courier;
-  };
+    courier
+  ]));
 in stdenv.mkDerivation (finalAttrs: {
   pname = "rdc";
   version = "5.7.1";