diff options
| -rw-r--r-- | movo987/packages/linux.scm | 15 |
1 files changed, 13 insertions, 2 deletions
diff --git a/movo987/packages/linux.scm b/movo987/packages/linux.scm index 775dd9b..0cb2738 100644 --- a/movo987/packages/linux.scm +++ b/movo987/packages/linux.scm @@ -15,7 +15,7 @@ (define %linux-zako-version "7.3.6") (define %linux-zako-commit - "b536efbd1506a9d3bae64779013f9cfff887109b") + "2a0bbb9f5911c9895dc18f811cd344faf78da84b") (define %linux-zako-zen-patch (origin @@ -57,7 +57,7 @@ %linux-zako-commit)) (file-name "linux-zako-defconfig") (sha256 - (base32 "1izkz16vkz19pfh16rghdadk6030q1d5rdry4qdi93z6vmhzzp8p")))) + (base32 "18ab9ynsmyyaaza2p1m09983pka8hf6cwqnn18nb5ym9v7r5l8gp")))) (define %linux-zako-base (customize-linux @@ -76,6 +76,17 @@ (prepend clang lld llvm))) (arguments (substitute-keyword-arguments (package-arguments %linux-zako-base) + ((#:phases phases) + #~(modify-phases #$phases + (add-before 'configure 'set-llvm + (lambda _ (setenv "LLVM" "1"))) + (add-before 'build 'set-ld-library-path + (lambda* (#:key inputs native-inputs #:allow-other-keys) + (let ((openssl (assoc-ref (or native-inputs inputs) + "openssl"))) + (when openssl + (setenv "LD_LIBRARY_PATH" + (string-append openssl "/lib")))))))) ((#:make-flags make-flags '()) #~(list "LLVM=1")))) (synopsis "Linux-libre kernel with Zen patches and BORE") |
