texlive*: set pname and version (#487432)
This commit is contained in:
@@ -3,6 +3,8 @@
|
||||
tl,
|
||||
bin,
|
||||
|
||||
version,
|
||||
|
||||
lib,
|
||||
buildEnv,
|
||||
libfaketime,
|
||||
@@ -47,6 +49,9 @@ lib.fix (
|
||||
args:
|
||||
(buildEnv (
|
||||
{
|
||||
pname = name;
|
||||
version = "${toString version.texliveYear}-unstable-${version.year}-${version.month}-${version.day}";
|
||||
|
||||
inherit (args) name paths;
|
||||
}
|
||||
// lib.optionalAttrs (args ? extraOutputsToInstall) { inherit (args) extraOutputsToInstall; }
|
||||
|
||||
@@ -196,6 +196,7 @@ let
|
||||
# function for creating a working environment
|
||||
buildTeXEnv = import ./build-tex-env.nix {
|
||||
inherit bin tl;
|
||||
inherit version;
|
||||
ghostscript = ghostscript_headless;
|
||||
inherit
|
||||
lib
|
||||
|
||||
Reference in New Issue
Block a user