From 4e7387dc2d6978c9dd8c05e57e3348a045d38d03 Mon Sep 17 00:00:00 2001 From: Olivier Farges <olivier.farges@univ-lorraine.fr> Date: Fri, 28 Feb 2025 23:53:39 +0100 Subject: [PATCH] debug star-enclosures-3d --- edix/packages/star-3d.scm | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/edix/packages/star-3d.scm b/edix/packages/star-3d.scm index 9b5f371..e5e087e 100644 --- a/edix/packages/star-3d.scm +++ b/edix/packages/star-3d.scm @@ -42,7 +42,15 @@ #:phases (modify-phases %standard-phases (delete 'configure) - (delete 'check) + (delete 'check) + (add-before 'build 'set-pkg-config-path + (lambda* (#:key inputs #:allow-other-keys) + (let ((pkgconfig-path (string-append (assoc-ref inputs "star-3d") "/lib/pkgconfig"))) + (setenv "PKG_CONFIG_PATH" (string-append pkgconfig-path ":" (or (getenv "PKG_CONFIG_PATH") ""))) + (format #t "DEBUG: PKG_CONFIG_PATH set to: ~a~%" (getenv "PKG_CONFIG_PATH")) + (invoke "ls" "-l" pkgconfig-path) ;; Affiche les fichiers dans pkgconfig + (invoke "pkg-config" "--modversion" "s3d") ;; Vérifie que pkg-config fonctionne bien dans l'environnement +)))) (replace 'build (lambda* (#:key make-flags #:allow-other-keys) (invoke "make" (string-join make-flags " ")))) -- GitLab