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

ghc963 with debugging build flags for MacOS #1753

Draft
wants to merge 9 commits into
base: master
Choose a base branch
from
Draft

Conversation

chessai
Copy link
Contributor

@chessai chessai commented Oct 6, 2023

For @jwiegley to test.

@chessai chessai marked this pull request as draft October 6, 2023 23:25
@chessai chessai changed the title ghc963 with MacOS build flags ghc963 with debugging build flags for MacOS Oct 7, 2023
@jwiegley
Copy link
Collaborator

jwiegley commented Oct 9, 2023

Thanks, I was able to build and run with this. It still dumped core, but now I have a build that Ben Gamari can help me with.

@imalsogreg
Copy link
Contributor

Awesome that the shell is working!

If I am interpreting nix flake show correctly for this branch, our nixpkgs input follows haskellNix/nixpkgs, which uses nixpkgs-unstable, which (for our current pin of haskell-nix) is github:NixOS/nixpkgs/e12483116b3b51a185a33a272bf351e357ba9a99. We may want to explicitly name the nixpkgs revision in our flake file like we currently do on master, rather than keeping nixpkgs.follows = "haskellNix/nixpkgs" in our flake.nix, since the former is easier to eyeball compare between repositories. I mean:

--- a/flake.nix
+++ b/flake.nix
@@ -2,7 +2,7 @@
   description = "Chainweb";

   inputs = {
-    nixpkgs.follows = "haskellNix/nixpkgs"; 
+    nixpkgs.url = "github:NixOS/nixpkgs?rev=e12483116b3b51a185a33a272bf351e357ba9a99";

I haven't actually tested this yet, so buyer beware!

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

Successfully merging this pull request may close these issues.

4 participants