.
This commit is contained in:
parent
767edd806a
commit
3da20d6708
1 changed files with 4 additions and 5 deletions
|
@ -31,8 +31,6 @@
|
||||||
(list
|
(list
|
||||||
#:configure-flags
|
#:configure-flags
|
||||||
#~(list
|
#~(list
|
||||||
(string-append "-DPHARO_BIN_LOCATION="
|
|
||||||
(assoc-ref %outputs "out") "/bin")
|
|
||||||
(string-append "-DPHARO_LIBRARY_PATH="
|
(string-append "-DPHARO_LIBRARY_PATH="
|
||||||
(assoc-ref %outputs "out") "/lib")
|
(assoc-ref %outputs "out") "/lib")
|
||||||
"-DGENERATED_SOURCE_DIR=."
|
"-DGENERATED_SOURCE_DIR=."
|
||||||
|
@ -43,12 +41,11 @@
|
||||||
#:phases
|
#:phases
|
||||||
#~(modify-phases %standard-phases
|
#~(modify-phases %standard-phases
|
||||||
(delete 'check)
|
(delete 'check)
|
||||||
|
(delete 'validate-runpath)
|
||||||
(add-after 'install 'really-install
|
(add-after 'install 'really-install
|
||||||
(lambda _
|
(lambda _
|
||||||
(let ((bin (string-append #$output "/bin"))
|
(let ((bin (string-append #$output "/bin"))
|
||||||
(lib (string-append #$output "/lib")))
|
(lib (string-append #$output "/lib")))
|
||||||
(wrap-program "./build/vm/pharo"
|
|
||||||
`("LD_LIBRARY_PATH" prefix (,lib)))
|
|
||||||
(mkdir-p bin)
|
(mkdir-p bin)
|
||||||
(mkdir-p lib)
|
(mkdir-p lib)
|
||||||
(copy-recursively "./build/vm/pharo"
|
(copy-recursively "./build/vm/pharo"
|
||||||
|
@ -62,7 +59,9 @@
|
||||||
"./build/vm"
|
"./build/vm"
|
||||||
(find-files "."
|
(find-files "."
|
||||||
(lambda (file stat)
|
(lambda (file stat)
|
||||||
(string-contains file ".so")))))))))))
|
(string-contains file ".so")))))
|
||||||
|
(wrap-program (string-append bin "/pharo")
|
||||||
|
`("LD_LIBRARY_PATH" prefix (,lib)))))))))
|
||||||
(inputs
|
(inputs
|
||||||
(list libffi
|
(list libffi
|
||||||
libgit2
|
libgit2
|
||||||
|
|
Loading…
Reference in a new issue