ianmackenzie / elm-geometry

2D/3D geometry package for Elm
Mozilla Public License 2.0
183 stars 26 forks source link

Add dev-shell with elm 0.19.0 #156

Closed w0rm closed 1 year ago

w0rm commented 1 year ago

To be used in order to publish packages. The dev shell can be activated with nix develop .#publish.

The shell is created from an old nixpkgs snapshot that still has ghc865 and the code prior to 0.19.0 -> 0.19.1 update.

ianmackenzie commented 1 year ago

Sorry for the long delay, just tested locally and everything seems to work (Elm reports the correct version, and elm diff runs successfully instead of reporting an error as with the normal dev shell). I do get this printed to the console when I run nix develop .#publish, though:

trace: warning: replaceChars is a deprecated alias of replaceStrings, replace usages of it with replaceStrings.

Do you get the same thing? Probably just something to live with, I don't see an easy way to suppress it.

w0rm commented 1 year ago

@ianmackenzie Yeah I’m getting this too, this is because we’re importing the old nix packages that have some stuff that has been deprecated in the newer nix packages. Maybe we can patch this somehow, but it should be fine to just ignore this warning

ianmackenzie commented 1 year ago

Yeah figured that's what it was, makes sense 🙂