Move tubslatex package to NUR repo

This commit is contained in:
Tim Schubert 2020-04-05 17:23:35 +02:00
parent e7340ffd7e
commit d0cd323c4c
Signed by: dadada
GPG key ID: EEB8D1CE62C4DFEA
6 changed files with 9 additions and 27 deletions

1
overlays/dadada.nix Symbolic link
View file

@ -0,0 +1 @@
../nur-packages/overlay.nix

View file

@ -1,11 +1,9 @@
self: super:
let
tubslatex = super.callPackage ../pkgs/tubslatex.nix {};
in {
{
# Based on https://gist.github.com/clefru/9ed1186bf0b76d27e0ad20cbd9966b87
texlive-tubs = super.lib.overrideDerivation (super.texlive.combine {
texlive-tubslatex = super.lib.overrideDerivation (super.texlive.combine {
inherit (super.texlive) scheme-full;
tubslatex.pkgs = [ tubslatex ];
tubslatex.pkgs = [ super.tubslatex ];
}) (oldAttrs: {
postBuild = ''
# Save the udpmap.cfg because texlive.combine removes it.