diff options
-rw-r--r-- | zig.scm | 22 |
1 files changed, 22 insertions, 0 deletions
@@ -75,6 +75,17 @@ ;; Zig compiles fine with GCC, but also needs native LLVM libraries. (native-inputs (list llvm-16)) + (native-search-paths + (list + (search-path-specification + (variable "C_INCLUDE_PATH") + (files '("include"))) + (search-path-specification + (variable "CPLUS_INCLUDE_PATH") + (files '("include/c++" "include"))) + (search-path-specification + (variable "LIBRARY_PATH") + (files '("lib" "lib64"))))) (synopsis "General purpose programming language and toolchain") (description "Zig is a general-purpose programming language and toolchain. Among other features it provides @@ -154,6 +165,17 @@ toolchain. Among other features it provides ;; Zig compiles fine with GCC, but also needs native LLVM libraries. (native-inputs (list llvm-17)) + (native-search-paths + (list + (search-path-specification + (variable "C_INCLUDE_PATH") + (files '("include"))) + (search-path-specification + (variable "CPLUS_INCLUDE_PATH") + (files '("include/c++" "include"))) + (search-path-specification + (variable "LIBRARY_PATH") + (files '("lib" "lib64"))))) (synopsis "General purpose programming language and toolchain") (description "Zig is a general-purpose programming language and toolchain. Among other features it provides |