2020-06-06 14:37:27 +00:00
|
|
|
{ config, lib, pkgs, ... }:
|
2019-01-09 01:09:23 +00:00
|
|
|
|
|
|
|
with lib;
|
|
|
|
|
|
|
|
{
|
|
|
|
config = {
|
|
|
|
programs.texlive.enable = true;
|
|
|
|
|
2020-06-06 14:37:27 +00: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 01:09:23 +00:00
|
|
|
nmt.script = ''
|
2020-06-06 14:37:27 +00:00
|
|
|
assertFileExists home-path/collection-basic
|
2019-01-09 01:09:23 +00:00
|
|
|
'';
|
|
|
|
};
|
|
|
|
}
|