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

bash: hadrian/build.sh: No such file or directory #68

Open
zeta-00 opened this issue Apr 20, 2020 · 9 comments
Open

bash: hadrian/build.sh: No such file or directory #68

zeta-00 opened this issue Apr 20, 2020 · 9 comments

Comments

@zeta-00
Copy link

zeta-00 commented Apr 20, 2020

hello there, i decided to build ghc with nix again(after about 2 months), but for some reason now that error is being thrown when i run: hadrian/build.sh -j4 --flavour=perf --build-root=_mybuild -c , this error never happened before so i'm not sure what's going on? also when is ghcide expected to be up and running again? i really need that tool. (thank you for taking the time to read this issue)
also, whenever i go into nix-shell it shows this weird output:

[zeta@nixos:/ghc]$ nix-shell ghc.nix/
Recommended ./configure arguments (found in $CONFIGURE_ARGS:
or use the configure_ghc command):

--with-gmp-includes=/nix/store/a7qdsbw0fnk4rdbi50m65i26202wwr71-gmp-6.1.2-dev/include
--with-gmp-libraries=/nix/store/sisy13ic6giv9yn0fyl2n9cpm84xscvx-gmp-6.1.2/lib
--with-libnuma-includes=/nix/store/kl730qs2qmqh2q1ipq06djm7if4l4408-numactl-2.0.13/include
--with-libnuma-libraries=/nix/store/kl730qs2qmqh2q1ipq06djm7if4l4408-numactl-2.0.13/lib
--with-libdw-includes=/nix/store/ac28lb0a4hvs5imvarz3zhq7j68j8f4n-elfutils-0.176/include
--with-libdw-libraries=/nix/store/ac28lb0a4hvs5imvarz3zhq7j68j8f4n-elfutils-0.176/lib
--enable-dwarf-unwind

@supersven
Copy link
Collaborator

Hey @zeta-00 ,

  • hadrian/build.sh was renamed to hadrian/build.
  • ghcide will be back once ghcide-nix supports GHC 8.8 o higher. You can build ghcide manually with cabal or stack. You only have to make sure you're using the same version as you use to build GHC.
  • The "weird output" is for configuring and building a GHC that works outside of the nix-shell. (By setting absolute paths to needed libraries into the build config.)

This was referenced Apr 20, 2020
@zeta-00
Copy link
Author

zeta-00 commented Apr 20, 2020

@supersven , hello there, thanks for letting me know about the renamed command, and i'll contact the ghcide-nix devs to see what is the progress of getting ghcide working ghc 8.8

@zeta-00
Copy link
Author

zeta-00 commented Apr 20, 2020

@supersven , ok, i talked with the people from ghcide-nix, and they say ghc 8.8 is supported by ghcide-nix, but i'm going to have to build ghcide from source until you guys get it fixed: https://github.com/digital-asset/ghcide/issues/532

@supersven
Copy link
Collaborator

@zeta-00 ,
When cachix/ghcide-nix#32 is merged and cachix/ghcide-nix#3 is closed, we can easily re-enable the ghcide support in ghc.nix. It's only commented out.

Thanks for pushing this issue forward. I'm looking forward to see ghcide support back in ghc.nix, too... 😃

@zeta-00
Copy link
Author

zeta-00 commented Apr 21, 2020

@supersven , that sounds good, can't wait until ghcide in ghc.nix is up and running again, thanks again for the help

@zeta-00
Copy link
Author

zeta-00 commented May 18, 2020

@supersven , hello again, just wondering what's the progress of getting ghcide working with ghc.nix? it's been almost a month

@supersven
Copy link
Collaborator

Hey @zeta-00 ,

Well, the state didn't change much: GHC >= 8.8 is still not supported by the master branch of ghcide-nix. As (IMHO) we don't want to rely on development branches, we're still waiting ...

As a work-around you can manually build ghcide. (You have to use the same GHC version that you're planning to use for GHC development, i.e. for compiling stage0.)

@supersven
Copy link
Collaborator

Hey @zeta-00 ,

Short update: #73

As re-enabling ghcide is tracked by a dedicated ticket now, can we close this ticket?

@zeta-00
Copy link
Author

zeta-00 commented May 28, 2020

@supersven , it looks like there has been good progress:
cachix/ghcide-nix#32

thanks for the update, and go ahead and close this issue

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants