-
Notifications
You must be signed in to change notification settings - Fork 691
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Feature request: A togglable version of data-files
#7260
Comments
|
What @hololeap is looking for is |
The installation of those can't be toggled though, can it? |
I should also add that I am trying to package |
I don't see a strong motivation here. If you are anyway packaging for a distribution (Gentoo in this case), surely you can install example files in a way the distribution packaging works anyway. In fact, I think it's not optimal that example files are in source distributions uploaded to Hackage. I'm very confident that no-one will look for them there, and using Hackage as a middle-step for executable distribution is not clear. It is convenient that you can
yet, I doubt users will ever look at the example files somewhere in Is that a goal? Otherwise, if you want to install something into |
The maintainer of |
I'm working on packaging a cabal project which includes quite a few example files which are packaged using
data-files
. I would like to make these files optional instead of being installed by cabal no matter what: tweag/ormolu#682I understand that
data-files
is generally used for files which are needed after installation, and so having the ability to toggle them with a flag doesn't make much sense. However, a different version ofdata-files
with the ability to toggle their installation with a flag would be a nice feature.Of course, if something with the same functionality already exists, please let me know, but I asked around in
#haskell
and nobody seemed to know of any such feature.The text was updated successfully, but these errors were encountered: