Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.Sign up
gdc: init at 9.3.0 #69144
Motivation for this change
As of version 9, GCC has a front-end for the D language, but the option to do so has not yet been included in nixpkgs. Packaging has been requested before and this is an attempt to move forward #68419 .
However, in the current state it doesn't work quite yet, so I would appreciate any help (I will also ask for help on the Dlang GDC forum).
Inspiration for the flags that are set has been found in https://aur.archlinux.org/cgit/aur.git/tree/PKGBUILD?h=gdc-git .
Issues I ran into when building with
Well, I've made some progress:
With these changes I can now build gdc + libraries and I've successfully built the example on the dlang.org front page from a nix shell.
Does anyone know of a nicer way to get rid of the
Maybe @ThomasMader has some pointers?
I would like to see that merged into master.
Can the eval errors be fixed?
Thanks a lot for your work @SFrijters.
I see there's merge conflicts again because this PR keeps lingering; I can probably look into it and rebase it again some time this weekend, but I would need some assistance to solve the failed evals (I think they were on platforms that are not available to me) and to get rid of the ugliness. I'm pretty much at the limit of my nix skills with this.
Edit: The failing checks I see now are different from the ones I remember. In this case I also have no idea what they mean, sad to say. Locally getting into a nix-shell works and I can still compile some randomly chosen example snippets from the D homepage.