gnu: tdlib: Use G-expressions.
* gnu/packages/messaging.scm (tdlib)[arguments]: Use G-expressions. Signed-off-by: Ludovic Courtès <ludo@gnu.org>
This commit is contained in:
		
							parent
							
								
									0d8739bd6d
								
							
						
					
					
						commit
						a4cc6b5909
					
				
					 1 changed files with 14 additions and 13 deletions
				
			
		|  | @ -2665,19 +2665,20 @@ replacement.") | ||||||
|        (file-name (git-file-name name version)))) |        (file-name (git-file-name name version)))) | ||||||
|     (build-system cmake-build-system) |     (build-system cmake-build-system) | ||||||
|     (arguments |     (arguments | ||||||
|      `(#:configure-flags |      (list | ||||||
|        (list "-DCMAKE_BUILD_TYPE=Release" |       #:configure-flags | ||||||
|              "-DTD_ENABLE_LTO=OFF")     ; FIXME: Get LTO to work. |       #~(list "-DCMAKE_BUILD_TYPE=Release" | ||||||
|        #:phases |               "-DTD_ENABLE_LTO=OFF")      ; FIXME: Get LTO to work. | ||||||
|        (modify-phases %standard-phases |       #:phases | ||||||
|          (add-after 'unpack 'remove-failing-tests |       #~(modify-phases %standard-phases | ||||||
|            (lambda _ |           (add-after 'unpack 'remove-failing-tests | ||||||
|              (substitute* "test/CMakeLists.txt" |             (lambda _ | ||||||
|                ;; The test cases are compiled into a distinct binary |               (substitute* "test/CMakeLists.txt" | ||||||
|                ;; which uses mtproto.cpp to attempt to connect to |                 ;; The test cases are compiled into a distinct binary | ||||||
|                ;; a remote server. Removing this file from the sources |                 ;; which uses mtproto.cpp to attempt to connect to | ||||||
|                ;; list disables those specific test cases. |                 ;; a remote server. Removing this file from the sources | ||||||
|                (("\\$\\{CMAKE_CURRENT_SOURCE_DIR\\}/mtproto.cpp") ""))))))) |                 ;; list disables those specific test cases. | ||||||
|  |                 (("\\$\\{CMAKE_CURRENT_SOURCE_DIR\\}/mtproto.cpp") ""))))))) | ||||||
|     (native-inputs |     (native-inputs | ||||||
|      (list gperf openssl zlib php doxygen)) |      (list gperf openssl zlib php doxygen)) | ||||||
|     (synopsis "Cross-platform library for building Telegram clients") |     (synopsis "Cross-platform library for building Telegram clients") | ||||||
|  |  | ||||||
		Reference in a new issue