sbt: Format with nixfmt

This commit is contained in:
Tim Steinbach 2020-10-08 10:50:33 -04:00
parent 96e5d91998
commit d2b161582e
No known key found for this signature in database
GPG key ID: 6538CB9266B06F31

View file

@ -5,7 +5,8 @@ stdenv.mkDerivation rec {
version = "1.4.0";
src = fetchurl {
url = "https://github.com/sbt/sbt/releases/download/v${version}/sbt-${version}.tgz";
url =
"https://github.com/sbt/sbt/releases/download/v${version}/sbt-${version}.tgz";
sha256 = "1mgfs732w1c1p7dna7h47x8h073lvjs224fqlpkkvq10153mnxxl";
};
@ -21,7 +22,9 @@ stdenv.mkDerivation rec {
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-${ if (stdenv.isDarwin) then "apple-darwin" else "pc-linux"} $out/bin/sbtn
ln -sT ../share/sbt/bin/sbtn-x86_64-${
if (stdenv.isDarwin) then "apple-darwin" else "pc-linux"
} $out/bin/sbtn
'';
meta = with stdenv.lib; {