uboot: (firmwareOdroidC2/C4) don't invoke patch tool, use patches = [] instead
https://github.com/NixOS/nixpkgs/blob/master/pkgs/stdenv/generic/setup.sh#L948 this can do it nicely. Signed-off-by: Anton Arapov <anton@deadbeef.mx>
This commit is contained in:
commit
56de2bcd43
30691 changed files with 3076956 additions and 0 deletions
32
pkgs/development/compilers/scala-runners/default.nix
Normal file
32
pkgs/development/compilers/scala-runners/default.nix
Normal file
|
|
@ -0,0 +1,32 @@
|
|||
{ stdenv, lib, fetchFromGitHub, coursier }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "scala-runners";
|
||||
version = "unstable-2021-07-28";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
repo = pname;
|
||||
owner = "dwijnand";
|
||||
rev = "9bf096ca81f4974d7327e291eac291e22b344a8f";
|
||||
sha256 = "032fds5nr102h1lc81n9jc60jmxzivi4md4hcjrlqn076hfhj4ax";
|
||||
};
|
||||
|
||||
dontBuild = true;
|
||||
installPhase = ''
|
||||
mkdir -p $out/bin $out/lib
|
||||
sed -ie "s| cs | ${coursier}/bin/cs |" scala-runner
|
||||
cp scala-runner $out/lib
|
||||
ln -s $out/lib/scala-runner $out/bin/scala
|
||||
ln -s $out/lib/scala-runner $out/bin/scalac
|
||||
ln -s $out/lib/scala-runner $out/bin/scalap
|
||||
ln -s $out/lib/scala-runner $out/bin/scaladoc
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "https://github.com/dwijnand/scala-runners";
|
||||
description = "An alternative implementation of the Scala distribution's runners";
|
||||
license = licenses.asl20;
|
||||
platforms = platforms.all;
|
||||
maintainers = with maintainers; [ hrhino ];
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue