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

gdc does not include gdmd #324961

Open
jtbx opened this issue Jul 6, 2024 · 6 comments
Open

gdc does not include gdmd #324961

jtbx opened this issue Jul 6, 2024 · 6 comments
Labels
0.kind: bug Something is broken

Comments

@jtbx
Copy link
Member

jtbx commented Jul 6, 2024

Describe the bug

The gdc package does not include the gdmd wrapper script, needed for compatibility with the DMD compiler.

Steps To Reproduce

$ nix build nixpkgs#gdc
$ ls result/bin/gdc
result/bin/gdc
$ ls result/bin/gdmd
ls: cannot access 'result/bin/gdmd': No such file or directory

Expected behavior

gdmd should be part of the gdc package.

Additional context

gdmd allows GDC to bootstrap the DMD compiler.

Notify maintainers

@Ericson2314 @Synthetica9 @vcunat

Metadata

Please run nix-shell -p nix-info --run "nix-info -m" and paste the result.

 - system: `"x86_64-linux"`
 - host os: `Linux 6.8.11-300.fc40.x86_64, Fedora Linux, 40 (Sway), nobuild`
 - multi-user?: `yes`
 - sandbox: `yes`
 - version: `nix-env (Nix) 2.22.1`
 - channels(root): `"nixpkgs"`
 - nixpkgs: `/nix/var/nix/profiles/per-user/root/channels/nixpkgs`

Add a 👍 reaction to issues you find important.

@jtbx jtbx added the 0.kind: bug Something is broken label Jul 6, 2024
@jtbx jtbx mentioned this issue Jul 6, 2024
13 tasks
@CyberShadow
Copy link
Contributor

I think Iain said that gdmd was essentially a third party project, unaffiliated with GDC. But, I agree that it's useful, and it would make sense to package it in nixpkgs.

@CyberShadow
Copy link
Contributor

CC @ibuclaw

@CyberShadow
Copy link
Contributor

Ah, I see it's under the same GitHub org now: https://github.com/D-Programming-GDC/gdmd

@jtbx
Copy link
Member Author

jtbx commented Jul 6, 2024

I think Iain said that gdmd was essentially a third party project, unaffiliated with GDC.

Oh is it? It's in old GDC archives, but I couldn't find it anywhere in the GDC source tree.

Ah, I see it's under the same GitHub org now: https://github.com/D-Programming-GDC/gdmd

That's great, I'm not sure how to incorporate that into the gcc package though. If someone here could help that would be awesome.

@CyberShadow
Copy link
Contributor

I'm not sure how to incorporate that into the gcc package though.

Any reason why it has to be part of the gcc package, as opposed to packaged as a stand alone tool?

@jtbx
Copy link
Member Author

jtbx commented Jul 6, 2024

Good point, I'll add that in #324982.

jtbx added a commit to jtbx-patches/nixpkgs that referenced this issue Jul 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
0.kind: bug Something is broken
Projects
None yet
Development

No branches or pull requests

2 participants