mirror of
https://github.com/CHN-beta/nixos.git
synced 2024-10-24 17:18:44 +08:00
23 lines
465 B
Nix
23 lines
465 B
Nix
{ stdenvNoCC, texlive, src }: stdenvNoCC.mkDerivation (finalAttrs:
|
|
{
|
|
name = "citation-style-language";
|
|
inherit src;
|
|
passthru =
|
|
{
|
|
pkgs = [ finalAttrs.finalPackage ];
|
|
tlDeps = with texlive; [ latex ];
|
|
tlType = "run";
|
|
};
|
|
|
|
nativeBuildInputs = [ texlive.combined.scheme-full ];
|
|
dontConfigure = true;
|
|
dontBuild = true;
|
|
installPhase =
|
|
''
|
|
runHook preInstall
|
|
export TEXMFHOME=$out
|
|
l3build install
|
|
runHook postInstall
|
|
'';
|
|
})
|