1
0
Fork 0
mirror of https://github.com/nix-community/home-manager.git synced 2025-12-12 20:11:06 +01:00
home-manager/tests/modules/programs/texlive/texlive-minimal.nix
Austin Horstman cba2f9ce95 treewide: reformat nixfmt-rfc-style
Reformat repository using new nixfmt-rfc-style.
2025-04-08 08:50:05 -07:00

25 lines
548 B
Nix

{ lib, pkgs, ... }:
{
config = {
programs.texlive.enable = true;
# Set up a minimal mocked texlive package set.
nixpkgs.overlays = [
(self: super: {
texlive = {
collection-basic = pkgs.writeTextDir "collection-basic" "";
combine =
tpkgs:
pkgs.symlinkJoin {
name = "dummy-texlive-combine";
paths = lib.attrValues tpkgs;
};
};
})
];
nmt.script = ''
assertFileExists home-path/collection-basic
'';
};
}