build-tex-env: Pass pathsToLink as an argument, not an attr. (#460639)
This commit is contained in:
@@ -45,13 +45,17 @@ lib.fix (
|
|||||||
### buildEnv with custom attributes
|
### buildEnv with custom attributes
|
||||||
buildEnv' =
|
buildEnv' =
|
||||||
args:
|
args:
|
||||||
(
|
(buildEnv (
|
||||||
buildEnv { inherit (args) name paths; }
|
{
|
||||||
|
inherit (args) name paths;
|
||||||
|
}
|
||||||
// lib.optionalAttrs (args ? extraOutputsToInstall) { inherit (args) extraOutputsToInstall; }
|
// lib.optionalAttrs (args ? extraOutputsToInstall) { inherit (args) extraOutputsToInstall; }
|
||||||
).overrideAttrs
|
// lib.optionalAttrs (args ? pathsToLink) { inherit (args) pathsToLink; }
|
||||||
|
)).overrideAttrs
|
||||||
(
|
(
|
||||||
removeAttrs args [
|
removeAttrs args [
|
||||||
"extraOutputsToInstall"
|
"extraOutputsToInstall"
|
||||||
|
"pathsToLink"
|
||||||
"name"
|
"name"
|
||||||
"paths"
|
"paths"
|
||||||
"pkgs"
|
"pkgs"
|
||||||
|
|||||||
Reference in New Issue
Block a user