mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-18 07:46:09 +01:00
sbt: Format with nixfmt
This commit is contained in:
parent
96e5d91998
commit
d2b161582e
1 changed files with 5 additions and 2 deletions
|
@ -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; {
|
||||
|
|
Loading…
Reference in a new issue