diff --git a/zilti/packages/zig.scm b/zilti/packages/zig.scm index 93f5b0c..83b8eff 100644 --- a/zilti/packages/zig.scm +++ b/zilti/packages/zig.scm @@ -44,16 +44,17 @@ (base32 "0qh7c27cd4wcdjj0mbpkarvwypfk1js8hkyxs0z149qv75zkbrca")))) (arguments (substitute-keyword-arguments (package-arguments zig-0.10) - ((#:parallel-build? _ #f) #t))) + ((#:parallel-build? _ #f) #t) + ((#:configure-flags flags ''()) + #~(cons* (string-append "-DCMAKE_PREFIX_PATH=" + (file-append llvm-16 "")) + #$flags)))) (inputs (modify-inputs (package-inputs zig-0.10) (replace "clang" clang-16) (replace "lld" lld-16))) - (propagated-inputs - (list clang-16)) (native-inputs (modify-inputs (package-native-inputs zig-0.10) - (prepend clang-toolchain-16) (replace "llvm" llvm-16))) (properties `((max-silent-time . 9600) ,@(clang-compiler-cpu-architectures "16")))))