native binaries from Scala with sbt, sbt-native-packager, graalvm, and nix flakes

Hi there! Sharing a little example project I put together a while back that builds native binaries from Scala code using sbt, graalvm, and nix.

It’s dead simple and merely glues together the different technologies involved. But maybe a nix-curious Scala developer stumbling on this community will find it interesting as a template to copy. It relies on github.com/zaninime/sbt-derivation, which has worked well in my very limited usage of it.

  • All
  • Subscribed
  • Moderated
  • Favorites
  • scala@programming.dev
  • Durango
  • DreamBathrooms
  • thenastyranch
  • magazineikmin
  • khanakhh
  • InstantRegret
  • Youngstown
  • ngwrru68w68
  • slotface
  • rosin
  • tacticalgear
  • mdbf
  • kavyap
  • modclub
  • JUstTest
  • osvaldo12
  • ethstaker
  • cubers
  • normalnudes
  • everett
  • tester
  • GTA5RPClips
  • Leos
  • cisconetworking
  • provamag3
  • anitta
  • megavids
  • lostlight
  • All magazines