Skip to content
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

cabal-gild discovers no extra-source-files #106

Closed
NorfairKing opened this issue Jul 29, 2024 · 5 comments
Closed

cabal-gild discovers no extra-source-files #106

NorfairKing opened this issue Jul 29, 2024 · 5 comments
Labels
question Further information is requested

Comments

@NorfairKing
Copy link

I am using cabal-gild like this:

cabal-version: 1.12
-- This file has been generated from package.yaml by hpack version 0.36.0.
--
-- see: https://github.com/sol/hpack
name: site
version: 0.0.0
build-type: Simple
-- cabal-gild: discover assets content style templates
extra-source-files:

But no extra-source-files are being filled in.
Am I doing something silly?

@tfausak
Copy link
Owner

tfausak commented Jul 29, 2024

Which version of Gild are you using?

@NorfairKing
Copy link
Author

$ cabal-gild --version
1.3.1.2

It's just what's in https://github.com/cachix/pre-commit-hooks.nix

@tfausak
Copy link
Owner

tfausak commented Jul 29, 2024

Using the discover pragma to discover extra-source-files was added in version 1.3.4.0 via #86. However it's buggy until version 1.5.0.1 because of #93 (which was fixed by #95).

Can you try with the latest version to see what happens?

@NorfairKing
Copy link
Author

@tfausak thanks for the response! Using a newer version would require an override that will be complex to maintain so I'll wait until the newer version is in the latest stable release that I use, which is in December.
Closing this until then.

@tfausak
Copy link
Owner

tfausak commented Jul 29, 2024

Ok, sounds good. Please do let me know if it doesn't work or behaves unexpectedly.

@tfausak tfausak added the question Further information is requested label Jul 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants