From c2b1797d0f1ca5ec9d2dd709e994528702df74cf Mon Sep 17 00:00:00 2001 From: fortuneteller2k Date: Thu, 20 May 2021 10:25:16 +0800 Subject: [PATCH] zls: build for baseline arch, cleanup --- pkgs/development/tools/zls/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/tools/zls/default.nix b/pkgs/development/tools/zls/default.nix index 6adf3a2ae9b..0c9a715e9bd 100644 --- a/pkgs/development/tools/zls/default.nix +++ b/pkgs/development/tools/zls/default.nix @@ -19,14 +19,14 @@ stdenv.mkDerivation rec { ''; 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; { 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 ]; + license = licenses.mit; maintainers = with maintainers; [ fortuneteller2k ]; }; }