Skip to content

Stack based projects are not possible on longer Windows paths #3285

@varosi

Description

@varosi

Steps to reproduce

For example:

  1. Put your project on long path, like:
    C:\builder\jenkins\home\workspace\aaaaaaaaa_master-IH6I4ZJQUG22JDFTMS624VMTMO5APB7UUFMDD7ZRLLQLR32Y2H5A\aaaaaaaaa
  2. Run command stack build.

Expected

To build correctly. When I move it out of our Jenkins to manual location - it works just fine.

Actual

C:\builder\jenkins\home\workspace\aaaaaaaaa_master-IH6I4ZJQUG22JDFTMS624VMTMO5APB7UUFMDD7ZRLLQLR32Y2H5A\aaaaaaaaa\.stack-work\install\609572cd\lib\x86_64-windows-ghc-8.0.2\integer-logarithms-1.0.1-9gv6iGGjwWmK292qSXr06v\Math\NumberTheory:
    copyFile: does not exist (No such file or directory)

Stack version

$ stack --version
Version 1.4.1, Git revision ea10057da1b1a49d937e7bcb6f997360bec1f863 (4765 commits) x86_64 hpack-0.17.0

Windows 8.1 x64

Method of installation

  • Official GitHub

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions