Merge pull request #278672 from mprihoda/sbt-arch-fix
Link correct sbtn binary for aarch64 platform
This commit is contained in:
commit
8634efa577
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user