-
Notifications
You must be signed in to change notification settings - Fork 697
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 repl (and nix build) do not respect <package>.buildinfo #9401
Labels
Comments
AleXoundOS
changed the title
cabal repl does not respect <package>.buildinfo
cabal repl (and nix build) do not respect <package>.buildinfo
Nov 6, 2023
This should have been fixed in #5573. Maybe there are some caveats and workarounds? |
I can see why this doesn't work, What is the issue with |
alt-romes
added a commit
to alt-romes/cabal
that referenced
this issue
Nov 13, 2023
In `autoconfUserHooks` we were not updating the `preRepl` hook to read additional build information from /package/@.buildinfo@. Fixes haskell#9401
Fix in #9440 |
alt-romes
added a commit
to alt-romes/cabal
that referenced
this issue
Dec 18, 2023
In `autoconfUserHooks` we were not updating the `preRepl` hook to read additional build information from /package/@.buildinfo@. Fixes haskell#9401
alt-romes
added a commit
to alt-romes/cabal
that referenced
this issue
Dec 18, 2023
In `autoconfUserHooks` we were not updating the `preRepl` hook to read additional build information from /package/@.buildinfo@. Fixes haskell#9401
alt-romes
added a commit
to alt-romes/cabal
that referenced
this issue
Dec 18, 2023
In `autoconfUserHooks` we were not updating the `preRepl` hook to read additional build information from /package/@.buildinfo@. Additionally updates `autoconfUserHooks` to read additional build info information for the remaining pre-hooks that are not pre-conf. Fixes haskell#9401
alt-romes
added a commit
to alt-romes/cabal
that referenced
this issue
Jan 11, 2024
In `autoconfUserHooks` we were not updating the `preRepl` hook to read additional build information from /package/@.buildinfo@. Additionally updates `autoconfUserHooks` to read additional build info information for the remaining pre-hooks that are not pre-conf. Fixes haskell#9401
Kleidukos
pushed a commit
that referenced
this issue
Jan 12, 2024
In `autoconfUserHooks` we were not updating the `preRepl` hook to read additional build information from /package/@.buildinfo@. Additionally updates `autoconfUserHooks` to read additional build info information for the remaining pre-hooks that are not pre-conf. Fixes #9401
mergify bot
pushed a commit
that referenced
this issue
Jan 12, 2024
In `autoconfUserHooks` we were not updating the `preRepl` hook to read additional build information from /package/@.buildinfo@. Additionally updates `autoconfUserHooks` to read additional build info information for the remaining pre-hooks that are not pre-conf. Fixes #9401 (cherry picked from commit ee1e6b8) # Conflicts: # Cabal/src/Distribution/Simple.hs
Kleidukos
added a commit
that referenced
this issue
Jan 12, 2024
…9440) (#9612) * Account for .buildinfo in repl when build-type: Configure (#9440) In `autoconfUserHooks` we were not updating the `preRepl` hook to read additional build information from /package/@.buildinfo@. Additionally updates `autoconfUserHooks` to read additional build info information for the remaining pre-hooks that are not pre-conf. Fixes #9401 (cherry picked from commit ee1e6b8) # Conflicts: # Cabal/src/Distribution/Simple.hs * Update Simple.hs --------- Co-authored-by: Rodrigo Mesquita <rodrigo.m.mesquita@gmail.com> Co-authored-by: Hécate Moonlight <Kleidukos@users.noreply.github.com>
erikd
pushed a commit
to erikd/cabal
that referenced
this issue
Apr 22, 2024
In `autoconfUserHooks` we were not updating the `preRepl` hook to read additional build information from /package/@.buildinfo@. Additionally updates `autoconfUserHooks` to read additional build info information for the remaining pre-hooks that are not pre-conf. Fixes haskell#9401
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Describe the bug
cabal build
successfully builds the cabal project, which usesbuild-type: Configure
with<package>.buildinfo
and CPP definition in it.But
cabal repl
fails:Remarkably,
nix build
fails the same way!To Reproduce
Steps to reproduce the behavior:
Expected behavior
Generated
<project>.buildinfo
file must be respected incabal repl
(andnix build
).System information
cabal
: v3.10.1.0ghc
: v9.2.8Additional context
This issue was already reported: #4195, haskell/haskell-language-server#3780.
The text was updated successfully, but these errors were encountered: