nixd: fix build on darwin

authored by Mario Rodas and committed by Matthieu Coudron 07059ee2 d7d2970a

+11 -1
+11 -1
pkgs/development/tools/language-servers/nixd/default.nix
··· 1 1 { lib 2 2 , stdenv 3 3 , fetchFromGitHub 4 + , fetchpatch 4 5 , nix-update-script 5 6 , bison 6 7 , boost182 ··· 26 27 rev = version; 27 28 hash = "sha256-zeBVh9gPMR+1ETx0ujl+TUSoeHHR4fkQfxyOpCDKP9M="; 28 29 }; 30 + 31 + patches = [ 32 + # Fix build on Darwin. Remove with next release. 33 + # https://github.com/nix-community/nixd/pull/172 34 + (fetchpatch { 35 + url = "https://github.com/nix-community/nixd/commit/3dbe1eb6bde1949b510e19a2d1863a2f4d2329a6.patch"; 36 + hash = "sha256-130L+85bZIBmNfHqH3PdmQCBuxLnCs3IyAAoW15RQSk="; 37 + includes = [ "lib/lspserver/src/Logger.cpp" "lib/nixd/src/ServerController.cpp" ]; 38 + }) 39 + ]; 29 40 30 41 mesonBuildType = "release"; 31 42 ··· 83 94 license = lib.licenses.lgpl3Plus; 84 95 maintainers = with lib.maintainers; [ inclyc Ruixi-rebirth ]; 85 96 platforms = lib.platforms.unix; 86 - broken = stdenv.isDarwin; 87 97 }; 88 98 }