Including GDC in nixpkgs
sfrijters at gmail.com
Fri Sep 20 10:29:10 UTC 2019
As a fan of both D and the nixpkgs package manager I wanted to
try and help include GDC in nixpkgs, but I have been running into
If anyone could help by taking a look at my pull request at
https://github.com/NixOS/nixpkgs/pull/69144 that would be greatly
Current issues include:
* When compiling without forcing --disable-shared, there are
linker errors about needing to compile with -fPIC. It seems that
some files are built using that flag, but not all, and I'm not
sure how to go about forcing it for the rest.
* When invoking nix-build without specifying --cores 1 there are
problems when building libphobos; it looks like object files are
moved before they are generated. This problem goes away when I
build on a single core, but of course everything takes a very
long time to try out.
* I have disabled bootstrapping for now to speed up the debugging
process, hopefully it can be enabled again later on.
I have taken the compiler flags to be used from
which was linked in another thread on this forum, but maybe this
is too specific for Arch?
Thanks in advance.
More information about the D.gnu