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/tools/zls/default.nix
Normal file
32
pkgs/development/tools/zls/default.nix
Normal file
|
|
@ -0,0 +1,32 @@
|
|||
{ stdenv, lib, fetchFromGitHub, zig }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "zls";
|
||||
version = "unstable-2021-06-06";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "zigtools";
|
||||
repo = pname;
|
||||
rev = "39d87188647bd8c8eed304ee18f2dd1df6942f60";
|
||||
sha256 = "sha256-22N508sVkP1OLySAijhtTPzk2fGf+FVnX9LTYRbRpB4=";
|
||||
fetchSubmodules = true;
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ zig ];
|
||||
|
||||
preBuild = ''
|
||||
export HOME=$TMPDIR
|
||||
'';
|
||||
|
||||
installPhase = ''
|
||||
zig build -Drelease-safe -Dcpu=baseline --prefix $out install
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
description = "Zig LSP implementation + Zig Language Server";
|
||||
changelog = "https://github.com/zigtools/zls/releases/tag/${version}";
|
||||
homepage = "https://github.com/zigtools/zls";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ fortuneteller2k ];
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue