From 55d6d9df5f4a2c5fd4bc480c3673436b73c47c4f Mon Sep 17 00:00:00 2001 From: Ruixi-rebirth Date: Tue, 20 Jun 2023 23:45:20 +0800 Subject: [PATCH] nixd: 1.0.0 -> 1.1.0 nixd: add `bison``flex` to nativeBuildInputs --- .../tools/language-servers/nixd/default.nix | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/pkgs/development/tools/language-servers/nixd/default.nix b/pkgs/development/tools/language-servers/nixd/default.nix index 4bf1af6a01c7..d8006f0c7630 100644 --- a/pkgs/development/tools/language-servers/nixd/default.nix +++ b/pkgs/development/tools/language-servers/nixd/default.nix @@ -1,7 +1,10 @@ { lib , stdenv , fetchFromGitHub +, nix-update-script +, bison , boost182 +, flex , gtest , libbacktrace , lit @@ -15,13 +18,13 @@ stdenv.mkDerivation rec { pname = "nixd"; - version = "1.0.0"; + version = "1.1.0"; src = fetchFromGitHub { owner = "nix-community"; repo = "nixd"; rev = version; - hash = "sha256-kTDPbsQi9gzFAFkiAPF+V3yI1WBmILEnnsqdgHMqXJA="; + hash = "sha256-zeBVh9gPMR+1ETx0ujl+TUSoeHHR4fkQfxyOpCDKP9M="; }; mesonBuildType = "release"; @@ -30,6 +33,8 @@ stdenv.mkDerivation rec { meson ninja pkg-config + bison + flex ]; nativeCheckInputs = [ @@ -70,11 +75,13 @@ stdenv.mkDerivation rec { runHook postCheck ''; + passthru.updateScript = nix-update-script { }; + meta = { description = "Nix language server"; homepage = "https://github.com/nix-community/nixd"; license = lib.licenses.lgpl3Plus; - maintainers = with lib.maintainers; [ inclyc ]; + maintainers = with lib.maintainers; [ inclyc Ruixi-rebirth ]; platforms = lib.platforms.unix; broken = stdenv.isDarwin; };