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

Fix ./setup install comand (backport #10417) #10436

Closed
wants to merge 1 commit into from

Commits on Oct 8, 2024

  1. Fix ./setup install comand

    Running ./setup install will give you an error:
    
    ```
    fromFlag NoFlag. Use fromFlagOrDefault
    CallStack (from HasCallStack):
      error, called at src/Distribution/Simple/Flag.hs:110:19 in Cabal-3.15.0.0-inplace:Distribution.Simple.Flag
      fromFlag, called at src/Distribution/Simple/Register.hs:161:16 in Cabal-3.15.0.0-inplace:Distribution.Simple.Register
    ```
    
    This seems to not be tested anywhere and most people will use ./setup
    register in any case, but we should fix this for the next point release
    in 3.14 series. # Please enter the commit message for your changes.
    Lines starting
    
    Fixes #10416
    
    (cherry picked from commit 2a178f2)
    
    # Conflicts:
    #	Cabal/src/Distribution/Simple.hs
    mpickering authored and geekosaur committed Oct 8, 2024
    Configuration menu
    Copy the full SHA
    1cb7876 View commit details
    Browse the repository at this point in the history