From 0a6e9704e6ed00b43b8a7e44660fd5bc2bac81ff Mon Sep 17 00:00:00 2001 From: xenia Date: Tue, 10 Jun 2025 00:08:55 -0400 Subject: [PATCH] templates: beamer: use new style texlive syntax --- templates/beamer/flake.nix | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/templates/beamer/flake.nix b/templates/beamer/flake.nix index 6bfeffa..b1d6d95 100644 --- a/templates/beamer/flake.nix +++ b/templates/beamer/flake.nix @@ -3,12 +3,10 @@ outputs = { self, dragnpkgs } @ inputs: dragnpkgs.lib.mkFlake { # Define a texlive environment to use - packages.texlive-custom = { texlive }: texlive.combine { - inherit (texlive) - scheme-medium - fontawesome5 - moloch; - }; + packages.texlive-custom = { texliveMedium }: texliveMedium.withPackages (ps: with ps; [ + fontawesome5 + moloch + ]); # Package definition for building the PDF packages.default = { system, stdenvNoCC }: stdenvNoCC.mkDerivation rec {