diff options
author | Nick Cao <nickcao@nichi.co> | 2024-01-26 08:40:57 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-01-26 08:40:57 -0500 |
commit | 8634efa5775e451145c45605a92a38c85aae13fb (patch) | |
tree | b58cc53243cabf066fdf435337c939fc9a5d10ba /pkgs/development | |
parent | 7ac72b3ee2af9bab80d66addd9b237277cc975c5 (diff) | |
parent | 241f25f25d5565e823a0ff8170fbf499839f4629 (diff) |
Merge pull request #278672 from mprihoda/sbt-arch-fix
Link correct sbtn binary for aarch64 platform
Diffstat (limited to 'pkgs/development')
-rw-r--r-- | pkgs/development/tools/build-managers/sbt/default.nix | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/pkgs/development/tools/build-managers/sbt/default.nix b/pkgs/development/tools/build-managers/sbt/default.nix index 7e70d0c04afa6..e554268e102a2 100644 --- a/pkgs/development/tools/build-managers/sbt/default.nix +++ b/pkgs/development/tools/build-managers/sbt/default.nix @@ -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 |