2025-02-21 21:20:07 -08:00
|
|
|
{ lib, pkgs, ... }: {
|
2019-01-09 02:09:23 +01:00
|
|
|
config = {
|
|
|
|
programs.texlive.enable = true;
|
|
|
|
|
2020-06-06 16:37:27 +02:00
|
|
|
# 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";
|
2025-02-21 21:20:07 -08:00
|
|
|
paths = lib.attrValues tpkgs;
|
2020-06-06 16:37:27 +02:00
|
|
|
};
|
|
|
|
};
|
|
|
|
})
|
|
|
|
];
|
|
|
|
|
2019-01-09 02:09:23 +01:00
|
|
|
nmt.script = ''
|
2020-06-06 16:37:27 +02:00
|
|
|
assertFileExists home-path/collection-basic
|
2019-01-09 02:09:23 +01:00
|
|
|
'';
|
|
|
|
};
|
|
|
|
}
|