dlang / dub

Package and build management system for D
MIT License
677 stars 227 forks source link

Dependency per system does not work #2752

Closed MrcSnm closed 10 months ago

MrcSnm commented 10 months ago

System information

Bug Description

Dub does not allow overriding/merging dependencies by system.

How to reproduce?

"dependencies-osx": {},
"dependencies-windows": {},
"dependencies-linux": {}

Expected Behavior

It should override or merge them. There is a lot of dependencies that doesn't make sense based on system you're using. e.g: Metal is OSX only. DirectX is Windows only. X11 is almost linux only.

Logs

Geod24 commented 10 months ago

You already reported this in #2560