News for hackers. Stuff that matters.
Re:An Elm Fork by josephcsible on Saturday June 10, 2023 @06:50PM (#36276062)
There are certain operations that only "kernel" packages are allowed to do. If that weren't the case, then this would indeed be little more than an obscure quirk.
Re:An Elm Fork by ArchieMaclean on Saturday June 10, 2023 @07:05PM (#36276212)
Ah I see. So non-kernel packages do not have access to native modules at all? I believe in Elm native modules were still possible, just not publishing them to the package database. But in this case I guess you wouldn't be able to put a native module in a GitHub repository and then pull this in as a dependency, which is equally rubbish.

Edit: EdwardDiego's answer clarified this for me

Re:An Elm Fork by Skinney on Sunday June 11, 2023 @01:13AM (#36278337)
Elm doesn’t allow kernel code in externel packages. Gren is performing the exact same check, it’s just that Gren uses Git as a package manager and so has to do it in a different way.