1
0
mirror of https://github.com/nix-community/home-manager synced 2024-06-30 18:38:31 +02:00
home-manager/tests/modules/programs/texlive/texlive-minimal.nix

28 lines
552 B
Nix
Raw Normal View History

{ config, lib, pkgs, ... }:
with lib;
{
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 = attrValues tpkgs;
};
};
})
];
nmt.script = ''
assertFileExists home-path/collection-basic
'';
};
}