sbt: Fix link to sbtn binary for aarch64 platform

This commit is contained in:
Michal Příhoda 2024-01-04 11:26:25 +01:00
parent 7aea9330a6
commit 241f25f25d

View File

@ -32,7 +32,9 @@ stdenv.mkDerivation (finalAttrs: {
mkdir -p $out/share/sbt $out/bin
cp -ra . $out/share/sbt
ln -sT ../share/sbt/bin/sbt $out/bin/sbt
ln -sT ../share/sbt/bin/sbtn-x86_64-${
ln -sT ../share/sbt/bin/sbtn-${
if (stdenv.hostPlatform.isAarch64) then "aarch64" else "x86_64"
}-${
if (stdenv.isDarwin) then "apple-darwin" else "pc-linux"
} $out/bin/sbtn