Merge pull request #123756 from fortuneteller2k/zls

zls: build for baseline arch, cleanup
This commit is contained in:
Luke Granger-Brown 2021-05-23 14:45:34 +01:00 committed by GitHub
commit 525cf3d82e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -19,14 +19,14 @@ stdenv.mkDerivation rec {
''; '';
installPhase = '' installPhase = ''
zig build -Drelease-safe --prefix $out install zig build -Drelease-safe -Dtarget=${stdenv.hostPlatform.parsed.cpu.name}-native --prefix $out install
''; '';
meta = with lib; { meta = with lib; {
description = "Zig LSP implementation + Zig Language Server"; description = "Zig LSP implementation + Zig Language Server";
changelog = "https://github.com/zigtools/zls/releases/tag/${version}"; changelog = "https://github.com/zigtools/zls/releases/tag/${version}";
homepage = "https://github.com/zigtools/zls"; homepage = "https://github.com/zigtools/zls";
license = [ licenses.mit ]; license = licenses.mit;
maintainers = with maintainers; [ fortuneteller2k ]; maintainers = with maintainers; [ fortuneteller2k ];
}; };
} }