You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Oct 24, 2022. It is now read-only.
Note this shows a dependency on e.g. Zef::Distribution which is provided by a distribution calledzef (with a lower case Z). Zef (with an uppercase Z), Zef-Distribution, Zef-Identity, etc should all resolve to the same thing... whatever the zef distribution contains. I suspect in your case you only want the .nix file to depend on rakuPackages.zef.
Optional. A list of run-time dependencies, specified as use strings.
The above explains why dependencies can use module names, and indeed it makes sense when you consider things like S22s emulates ( NYI, but a naive implementation exists rakudo/rakudo#2732 ). The fact we accept distribution names in depends is because that is what was done from before zef (which had to inherit this allowance to not break the world). So you need to look at both the provides section of all modules (theoretically the emulates section as well) as well as the distribution name.
The text was updated successfully, but these errors were encountered:
That’s interesting. CRAI does not yet collect provides, but this is something I want to add (zopsicle/crai#15), so once that’s in place this issue can be fixed.
https://github.com/chloekek/raku-nix/blob/811cc574fa0e75580a80bf4e307c8eb0a59a68f5/ecosystem/Ddt.nix#L7
Note this shows a dependency on e.g.
Zef::Distribution
which is provided by a distribution calledzef
(with a lower case Z).Zef
(with an uppercase Z),Zef-Distribution
,Zef-Identity
, etc should all resolve to the same thing... whatever thezef
distribution contains. I suspect in your case you only want the .nix file to depend onrakuPackages.zef
.For brevity:
https://design.raku.org/S22.html#depends
The above explains why dependencies can use module names, and indeed it makes sense when you consider things like S22s
emulates
( NYI, but a naive implementation exists rakudo/rakudo#2732 ). The fact we accept distribution names in depends is because that is what was done from beforezef
(which had to inherit this allowance to not break the world). So you need to look at both theprovides
section of all modules (theoretically the emulates section as well) as well as the distribution name.The text was updated successfully, but these errors were encountered: