Git Product home page Git Product logo

cabal-dependency-licenses's Introduction

What

This is the source code of my personal home page. It might be of interest to anyone who wants to set up a blog using Hakyll.

License

This website falls under regular copyright laws. This means the code is available as a reference. You shouldn't use it as a starting point for your own site, the examples on the Hakyll site are much cleaner.

cabal-dependency-licenses's People

Contributors

hdgarrood avatar jaspervdj avatar phadej avatar robrix avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

cabal-dependency-licenses's Issues

Build with Cabal 1.21 (HEAD)

It would be nice to be able to build c-d-l with current Cabal HEAD. Right now, even if I pass --allow-newer, there's a compile error.

On the other hand, if I build it with Cabal 1.20, then it doesn't recognize the new config format:

cabal-dependency-licenses: user error (Saved package config file seems to be corrupt. Try re-running the 'configure' command.)

(Another workaround for me would be to build cabal-install-1.20 just for this purpose.)

Make program ready for GHC 8.2.1

The program does not work under GHC 8.2.1:

roland@goms:~/Downloads/unix-2.7.2.2/unix-2.7.2-test$ cabal configure
Resolving dependencies...
Configuring unix-2.7.2.2...
configure: WARNING: unrecognized options: --with-compiler
checking for gcc... /usr/bin/gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out

... lines deleted

config.status: creating include/HsUnixConfig.h
config.status: include/HsUnixConfig.h is unchanged
configure: WARNING: unrecognized options: --with-compiler
roland@goms:~/Downloads/unix-2.7.2.2/unix-2.7.2-test$ cabal-dependency-licenses
cabal-dependency-licenses: Saved package config file is outdated:
• the Cabal version changed from Cabal-2.0.0.2 to Cabal-1.24.2.0
Re-run the 'configure' command.
roland@goms:~/Downloads/unix-2.7.2.2/unix-2.7.2-test$ cabal --version
cabal-install version 2.0.0.0
compiled using version 2.0.0.2 of the Cabal library 
roland@goms:~/Downloads/unix-2.7.2.2/unix-2.7.2-test$ ghc --version
The Glorious Glasgow Haskell Compilation System, version 8.2.1
roland@goms:~/Downloads/unix-2.7.2.2/unix-2.7.2-test$

Reason:
GHC 8.2.1 uses cabal version 2.0 however the program cabal-dependencies-licenses builds with cabal versions between 1.18 and 1.24

  Build-depends:
    Cabal      >= 1.18 && < 1.25,

Support projects using stack

I'm hoping that the effort required to support stack isn't too large, and brings several benefits, particularly protection against license changes between versions of dependencies.

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.