2020-06-06 16:37:27 +02:00
|
|
|
{ config, lib, pkgs, ... }:
|
2019-01-09 02:09:23 +01:00
|
|
|
|
|
|
|
with lib;
|
|
|
|
|
|
|
|
{
|
|
|
|
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";
|
|
|
|
paths = attrValues tpkgs;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
})
|
|
|
|
];
|
|
|
|
|
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
|
|
|
'';
|
|
|
|
};
|
|
|
|
}
|