Merge pull request #234308 from wegank/silicon-refactor

silicon: migrate to bindgenHook

authored by Weijia Wang and committed by GitHub 22ac27bd ff8e8c3a

+2 -5
+2 -5
pkgs/tools/misc/silicon/default.nix
··· 5 , fetchpatch 6 , pkg-config 7 , cmake 8 - , llvmPackages 9 , expat 10 , freetype 11 , libxcb ··· 45 }; 46 }; 47 48 - buildInputs = [ llvmPackages.libclang expat freetype fira-code fontconfig harfbuzz ] 49 ++ lib.optionals stdenv.isLinux [ libxcb ] 50 ++ lib.optionals stdenv.isDarwin [ libiconv AppKit CoreText Security ]; 51 52 - nativeBuildInputs = [ cmake pkg-config ] 53 ++ lib.optionals stdenv.isLinux [ python3 ]; 54 - 55 - LIBCLANG_PATH = "${llvmPackages.libclang.lib}/lib"; 56 57 preCheck = '' 58 export HOME=$TMPDIR
··· 5 , fetchpatch 6 , pkg-config 7 , cmake 8 , expat 9 , freetype 10 , libxcb ··· 44 }; 45 }; 46 47 + buildInputs = [ expat freetype fira-code fontconfig harfbuzz ] 48 ++ lib.optionals stdenv.isLinux [ libxcb ] 49 ++ lib.optionals stdenv.isDarwin [ libiconv AppKit CoreText Security ]; 50 51 + nativeBuildInputs = [ cmake pkg-config rustPlatform.bindgenHook ] 52 ++ lib.optionals stdenv.isLinux [ python3 ]; 53 54 preCheck = '' 55 export HOME=$TMPDIR