[MacPorts] #62228: haskell-stack 1.0: set stack root to home directory

MacPorts noreply at macports.org
Sat Feb 6 16:38:20 UTC 2021


#62228: haskell-stack 1.0: set stack root to home directory
---------------------+--------------------
  Reporter:  Ionic   |      Owner:  (none)
      Type:  defect  |     Status:  new
  Priority:  Normal  |  Milestone:
 Component:  ports   |    Version:
Resolution:          |   Keywords:
      Port:          |
---------------------+--------------------

Comment (by ryandesign):

 Ken, did you read the ticket? Mihai says the port downloads and builds
 stuff in the build phase, then downloads and builds stuff again in the
 destroot phase. That's surely undesirable and what he's proposing be
 fixed.

 Clemens, when Mihai says it uses ~/.stack, I presume he means that ~
 expands to the value of the HOME environment variable, which MacPorts sets
 to ${workpath}/.home. As you say, MacPorts cannot write to the user's real
 home directory nor to the macports user's home directory
 /opt/local/var/macports/home, so if it were trying to use either of those
 the build would not succeed, but apparently it does succeed so it must not
 be doing that.

-- 
Ticket URL: <https://trac.macports.org/ticket/62228#comment:7>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list