mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-25 16:33:15 +00:00
sbt: fix sbtn on apple-darwin
This commit is contained in:
parent
da028a2936
commit
1f1f0cdf24
@ -33,9 +33,9 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
cp -ra . $out/share/sbt
|
||||
ln -sT ../share/sbt/bin/sbt $out/bin/sbt
|
||||
ln -sT ../share/sbt/bin/sbtn-${
|
||||
if (stdenv.hostPlatform.isAarch64) then "aarch64" else "x86_64"
|
||||
}-${
|
||||
if (stdenv.isDarwin) then "apple-darwin" else "pc-linux"
|
||||
if (stdenv.isDarwin) then "universal-apple-darwin"
|
||||
else if (stdenv.hostPlatform.isAarch64) then "aarch64-pc-linux"
|
||||
else "x86_64-pc-linux"
|
||||
} $out/bin/sbtn
|
||||
|
||||
runHook postInstall
|
||||
|
Loading…
Reference in New Issue
Block a user