Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Lexer.x source is missing in tarball #10

Closed
nomeata opened this Issue · 7 comments

3 participants

Joachim Breitner Alan Zimmerman Erik de Castro Lopo
Joachim Breitner

This makes the package not legally distributable by, e.g. Debian. (See http://bugs.debian.org/669156). So Lexer.x needs to end up in the tarball.

One way is to just put it in src/ and let Cabal take care of it. Using "setup sdist" will create a tarball with the generated file Lexer.hs in dist/, so that users will not need to have alex installed and in the path to install the library. Unless the modify the source Lexer.x of course.

Joachim Breitner nomeata referenced this issue from a commit
Commit has since been removed from the repository and is no longer available.
Joachim Breitner nomeata referenced this issue from a commit
Joachim Breitner Ship alex source in src/
The source distribution would not be distributable if the source for
Lexer.hs is missing. Also, putting Lexer.x into src/ has the effect that
cabal sdist will put the generated file Lexer.hs into dist/, hence
allowing the package to be built even without alex installed.

Closes: #10.
38cdc7c
Joachim Breitner nomeata referenced this issue
Closed

Fix for #10 #11

Alan Zimmerman
Owner
alanz commented
Alan Zimmerman alanz closed this in 38e507b
Joachim Breitner

You don’t need to depend on alex to have the alex file in src/, though... but whatever works for you.

Alan Zimmerman
Owner
alanz commented
Erik de Castro Lopo
erikd commented

@alanz Any idea when this version is going to be released? I'm one of the Debian haskell guys :-)

Alan Zimmerman
Owner
alanz commented
Alan Zimmerman
Owner
alanz commented

Version 0.5.2 is on hackage, with Lexer.x included

Joachim Breitner

Thanks a bunch!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.