Move tubslatex package to NUR repo
This commit is contained in:
parent
e7340ffd7e
commit
d0cd323c4c
6 changed files with 9 additions and 27 deletions
3
.gitmodules
vendored
Normal file
3
.gitmodules
vendored
Normal file
|
@ -0,0 +1,3 @@
|
||||||
|
[submodule "nur-packages"]
|
||||||
|
path = nur-packages
|
||||||
|
url = git@github.com:dadada/nur-packages.git
|
|
@ -66,7 +66,7 @@ in
|
||||||
unzip
|
unzip
|
||||||
anki
|
anki
|
||||||
bluez-tools
|
bluez-tools
|
||||||
texlive-tubs
|
texlive-tubslatex
|
||||||
openssl
|
openssl
|
||||||
] ++ (with unstable; [
|
] ++ (with unstable; [
|
||||||
python38Packages.managesieve
|
python38Packages.managesieve
|
||||||
|
|
1
nur-packages
Submodule
1
nur-packages
Submodule
|
@ -0,0 +1 @@
|
||||||
|
Subproject commit b6c4f79c929e5bf73451a24aaf98468857e1430d
|
1
overlays/dadada.nix
Symbolic link
1
overlays/dadada.nix
Symbolic link
|
@ -0,0 +1 @@
|
||||||
|
../nur-packages/overlay.nix
|
|
@ -1,11 +1,9 @@
|
||||||
self: super:
|
self: super:
|
||||||
let
|
{
|
||||||
tubslatex = super.callPackage ../pkgs/tubslatex.nix {};
|
|
||||||
in {
|
|
||||||
# Based on https://gist.github.com/clefru/9ed1186bf0b76d27e0ad20cbd9966b87
|
# 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;
|
inherit (super.texlive) scheme-full;
|
||||||
tubslatex.pkgs = [ tubslatex ];
|
tubslatex.pkgs = [ super.tubslatex ];
|
||||||
}) (oldAttrs: {
|
}) (oldAttrs: {
|
||||||
postBuild = ''
|
postBuild = ''
|
||||||
# Save the udpmap.cfg because texlive.combine removes it.
|
# Save the udpmap.cfg because texlive.combine removes it.
|
|
@ -1,21 +0,0 @@
|
||||||
{
|
|
||||||
stdenv,
|
|
||||||
fetchzip,
|
|
||||||
pkgs,
|
|
||||||
lib,
|
|
||||||
...
|
|
||||||
}:
|
|
||||||
stdenv.mkDerivation rec {
|
|
||||||
src = fetchzip {
|
|
||||||
url = https://gitlab.ibr.cs.tu-bs.de/tubslatex/tubslatex/-/jobs/116760/artifacts/raw/builds/tubslatex.tds.zip;
|
|
||||||
sha256 = "0vvgwwkd8y7nk1lkda6zsnfnzmvgda1g59yawsknmw246y8nw8ln";
|
|
||||||
stripRoot = false;
|
|
||||||
};
|
|
||||||
installPhase = ''
|
|
||||||
mkdir -p $out
|
|
||||||
cp -r * $out/
|
|
||||||
'';
|
|
||||||
pname = "tubslatex";
|
|
||||||
name = pname;
|
|
||||||
tlType = "run";
|
|
||||||
}
|
|
Loading…
Add table
Add a link
Reference in a new issue