Stack: which means "No extra parameter found for the package at the url"

I have packages on github included in my stack.yaml file. when i run the stack solver i get the message:No extra-dep setting found for package at URL:

I cannot find any documentation in the stack docs for this case. What does the warning indicate? what corrective steps need to be taken?

flags: {}
extra-package-dbs: []
packages:
- '.'
- location: /home/frank/Workspace8/repo8/uniform/uniform-algebras
  extra-dep: true
- location: /home/frank/Workspace8/repo8/uniform/uniform-time
  extra-dep: true
- location:  
      git: https://github.com/andrewufrank/uniform-strings.git
      commit:  ba8bd37567758c1807bf470b3dda4f471cee0f5f
      extra-dep: true
- location:  
      git: https://github.com/andrewufrank/uniform-error.git
      commit:  46c62fcf8b4d6b7a5a9a3622c724ab573fce295d
      extra-dep: true 
extra-deps:
- data-easy-0.7.0
- pipes-4.3.2
resolver: lts-8.13

      

+3


source to share


2 answers


It's just a warning, it's safe to ignore it. Not sure why this warning came up, however packages seem to be marked as "extra-dep: true"



0


source


An error message appears because the last two package locations have a field extra-dep

at the wrong level in the YAML hierarchy. The stack does not find them where it expects them to be and behave accordingly.

To fix the problem, you must move the fields up in the hierarchy as follows:



- location:  
      git: https://github.com/andrewufrank/uniform-strings.git
      commit:  ba8bd37567758c1807bf470b3dda4f471cee0f5f
  extra-dep: true
- location:  
      git: https://github.com/andrewufrank/uniform-error.git
      commit:  46c62fcf8b4d6b7a5a9a3622c724ab573fce295d
  extra-dep: true

      

Ignoring the warning and not fixing the problem will cause Stack to refer to dependencies as part of your project. For example, when you ask Stack to run tests on your project, it also tries to run tests in those dependencies. This is often undesirable and rather confusing.

+10


source







All Articles