Warning: file_get_contents(/data/phpspider/zhask/data//catemap/6/haskell/9.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Haskell 将流程的最新版本构建为依赖项_Haskell_Haskell Stack - Fatal编程技术网

Haskell 将流程的最新版本构建为依赖项

Haskell 将流程的最新版本构建为依赖项,haskell,haskell-stack,Haskell,Haskell Stack,为了能够在Windows上取消进程,我需要使用for,它尚未发布。我已尝试将github的最新版本作为依赖项添加到我的stack.yaml文件中: packages: - '.' - location: git: https://github.com/haskell/process.git commit: 2fb7e739771f4a899a12b45f8b392e4874616b89 extra-dep: true 但是堆栈构建命令失败: Process exited w

为了能够在Windows上取消进程,我需要使用for,它尚未发布。我已尝试将github的最新版本作为依赖项添加到我的
stack.yaml
文件中:

packages:
- '.'
- location:
    git: https://github.com/haskell/process.git
    commit: 2fb7e739771f4a899a12b45f8b392e4874616b89
  extra-dep: true
但是
堆栈构建
命令失败:

Process exited with code: ExitFailure 1
Logs have been written to: C:\Users\nadalesagutde\Documents\github\capitanbatata\sandbox\racing-turtles\.stack-work\logs\process-1.6.1.0.log

Configuring process-1.6.1.0...
Warning: The 'build-type' is 'Configure' but there is no 'configure' script.
You probably need to run 'autoreconf -i' to generate it.
setup.exe: configure script not found.

过程的自述文件中
说明必须先运行
autoreconf-i
,但我不知道如何告诉
stack
。我需要在我的
stack.yaml
文件中进行一些额外的配置吗?

看起来包的git repo不包括“configure”脚本,这是直接使用包所必需的。从hackage下载时工作正常的原因是源发行版确实包含配置脚本。令人沮丧的!我认为对于使用configure的包来说,这是一个非典型的设计决策。我已打开此堆栈问题:

建议的解决方法是将回购克隆为子模块,并手动运行
autoreconf-i