Skip Navigation

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

codeberg.org nix-graalvm-scala-example

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

nix-graalvm-scala-example

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 https://github.com/zaninime/sbt-derivation, which has worked well in my very limited usage of it.

0
0 comments