[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Multiple build-systems in a guix package
From: |
Reza Alizadeh Majd |
Subject: |
Multiple build-systems in a guix package |
Date: |
Tue, 08 Jan 2019 15:39:26 +0330 |
Hi,
I'm working on a Guix package based on cmake-build-system. this package needs
to copy
some .scm files in GUILE_LOAD_PATH, compiled .go file is also need to be added
inside
GUILE_LOAD_COMPILED_PATH, does anyone know how could I reach these variables
relating
to current profile?
currently I used following script inside my CMakeLists.txt:
execute_process(
COMMAND guile -c "(display (car %load-path))"
OUTPUT_VARIABLE SCRIPT_PATH
)
install(FILES scripts/packageutils.scm DESTINATION ${SCRIPT_PATH})
but it seems that my ${SCRIPT_PATH} points to an invalid path.
Regards,
Reza
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- Multiple build-systems in a guix package,
Reza Alizadeh Majd <=