Unverified Commit ced843de authored by Will Fancher's avatar Will Fancher Committed by GitHub
Browse files

build-tex-env: Pass `pathsToLink` as an argument, not an attr. (#460639)

parents 4c8440c3 ae0b6c5a
Loading
Loading
Loading
Loading
+7 −3
Original line number Diff line number Diff line
@@ -45,13 +45,17 @@ lib.fix (
    ### buildEnv with custom attributes
    buildEnv' =
      args:
      (
        buildEnv { inherit (args) name paths; }
      (buildEnv (
        {
          inherit (args) name paths;
        }
        // lib.optionalAttrs (args ? extraOutputsToInstall) { inherit (args) extraOutputsToInstall; }
      ).overrideAttrs
        // lib.optionalAttrs (args ? pathsToLink) { inherit (args) pathsToLink; }
      )).overrideAttrs
        (
          removeAttrs args [
            "extraOutputsToInstall"
            "pathsToLink"
            "name"
            "paths"
            "pkgs"