Git Product home page Git Product logo

Comments (4)

ruuda avatar ruuda commented on June 10, 2024 1

Note that since Stack 1.3.0, there is stack list-dependencies --license.

from cabal-dependency-licenses.

jaspervdj avatar jaspervdj commented on June 10, 2024

I'm not really sure what you mean by supporting stack, since that also uses cabal files?

This tool currently doesn't look at license changes, that's an interesting idea though.

from cabal-dependency-licenses.

ruuda avatar ruuda commented on June 10, 2024

Running in a directory containing a Stack project (which has been compiled):

$ stack install cabal-dependency-licenses
$ $(stack path --local-bin)/cabal-dependency-licenses
> cabal-dependency-licenses: Run the 'configure' command first.

Maybe all the required information is there, but the program is making some assumptions about where to find it, such as here? There exists a dist directory, but it is in .stack-work/dist, not in the project root. And even .stack-work can be changed with environment variables, so it should probably not be hard-coded.

from cabal-dependency-licenses.

patrickt avatar patrickt commented on June 10, 2024

I've encountered this too. Even installing cabal-install and running stack exec cabal -- configure doesn't work, since stack uses GHC_PACKAGE_PATH, and cabal-install doesn't like that.

from cabal-dependency-licenses.

Related Issues (5)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.