diff options
author | Danny Milosavljevic <dannym@friendly-machines.com> | 2024-12-21 20:17:29 +0100 |
---|---|---|
committer | Danny Milosavljevic <dannym@friendly-machines.com> | 2024-12-21 20:22:52 +0100 |
commit | ce2d003da47320a7268ca992101047365d357e24 (patch) | |
tree | b62d38b672521bdb93f2c5dc05bd51c1cb8570ea /gnu/packages/patches | |
parent | 63041aacbb3e557dc35a2a4181ddd510acace5ec (diff) |
gnu: c2rust: Clean up environment variable names.
* gnu/packages/c2rust.scm (rust-c2rust-ast-exporter-0.18)[arguments]
<#:phases>[bundle-tinycbor]: Define GUIX_TINYCBOR_SOURCE_DIR.
(c2rust)[arguments]<#:phases>[patch]: Define GUIX_TINYCBOR_SOURCE_DIR.
* gnu/packages/patches/c2rust-ast-exporter-local-search.patch: Use
GUIX_TINYCBOR_SOURCE_DIR.
Change-Id: I2794016aaa56e5358a8153faf0e46ffb22d6b293
Diffstat (limited to 'gnu/packages/patches')
-rw-r--r-- | gnu/packages/patches/c2rust-ast-exporter-local-search.patch | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gnu/packages/patches/c2rust-ast-exporter-local-search.patch b/gnu/packages/patches/c2rust-ast-exporter-local-search.patch index 959321a9f7..211873ef69 100644 --- a/gnu/packages/patches/c2rust-ast-exporter-local-search.patch +++ b/gnu/packages/patches/c2rust-ast-exporter-local-search.patch @@ -18,7 +18,7 @@ diff -ru orig/c2rust-ast-exporter-0.18.0/build.rs c2rust-ast-exporter-0.18.0/bui // Build libclangAstExporter.a with cmake let dst = Config::new("src") // Where to find LLVM/Clang CMake files -+ .define("TINYCBOR_SOURCE_DIR", &env!("CMAKE_TINYCBOR_SOURCE_DIR")) ++ .define("TINYCBOR_SOURCE_DIR", &env!("GUIX_TINYCBOR_SOURCE_DIR")) .define("LLVM_DIR", &format!("{}/cmake/llvm", llvm_lib_dir)) .define("Clang_DIR", &format!("{}/cmake/clang", llvm_lib_dir)) // What to build |