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
autoreconf
calls incorrect aclocal
?
#1307
Comments
This has nothing to do with
Improvement:
Is this the solution:
Thank you |
..components.library.preConfigure
and ..components.tests..preConfigure
?autoreconf
calls incorrect aclocal
autoreconf
calls incorrect aclocal
autoreconf
calls incorrect aclocal
?
I think the key here is |
A quickfix would likely be:
for the |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
Edit: The real question is #1307 (comment)
I need both of these modules:
packages..components.library.preConfigure
https://input-output-hk.github.io/haskell.nix/reference/modules/#packagescomponentslibrarypreconfigure
packages..components.tests..preConfigure
https://input-output-hk.github.io/haskell.nix/reference/modules/#packagescomponentstestspreconfigure
I am attempting to build the package
network
(https://hackage.haskell.org/package/network) withhaskell.nix
. So in this case the modules are named:packages.network.components.library.preConfigure
packages.network.components.tests.spec.preConfigure
Each component of the
network
package requiresautoreconf -i
(#778). For thelibrary
component, I provide this module:https://github.com/peterbecich/network/blob/40cd8979c4d9be3087331af18de0dce8aa8b69af/default.nix#L11-L15
With the test suites removed from
network.cabal
(https://github.com/peterbecich/network/blob/40cd8979c4d9be3087331af18de0dce8aa8b69af/network.cabal#L131) ,nix build -f .
succeeds:However, the equivalent fix for the test suites does not work:
https://github.com/peterbecich/network/blob/40cd8979c4d9be3087331af18de0dce8aa8b69af/default.nix#L16-L20
nix build -f .
fails with:Why does
autoreconf -i
succeed for the first module (operating onlibrary
), but fail for the second module (operating on test suitespec
)?Could it be that
aclocal
is not called by thelibrary
preconfiguration, andaclocal
is non-existent for both modules?Thank you
The text was updated successfully, but these errors were encountered: