mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-28 23:32:24 -05:00
gnu: r-rserve: Install server binary.
Missing Rserve reported by awb99 on #guix. * gnu/packages/cran.scm (r-rserve)[arguments]: Add an 'install-server-binary phase.
This commit is contained in:
parent
ca89f21a7f
commit
6dbe4b12df
1 changed files with 11 additions and 0 deletions
|
@ -23538,6 +23538,17 @@ (define-public r-rserve
|
|||
(base32
|
||||
"017kkzv9lxlz9qhg3gprrf1wcyflxrif6wjk27x9b4bdzylw6bsx"))))
|
||||
(build-system r-build-system)
|
||||
(arguments
|
||||
`(#:phases
|
||||
(modify-phases %standard-phases
|
||||
(add-before 'install 'install-server-binary
|
||||
;; Makevars tries to install to R's store directory.
|
||||
(lambda* (#:key outputs #:allow-other-keys)
|
||||
(let* ((out (assoc-ref outputs "out"))
|
||||
(bin (string-append out "/bin")))
|
||||
(substitute* "src/Makevars.in"
|
||||
(("\\$\\(R_HOME\\)") out))
|
||||
(mkdir-p bin)))))))
|
||||
(propagated-inputs
|
||||
`(("r-checkmate" ,r-checkmate)
|
||||
("r-mime" ,r-mime)
|
||||
|
|
Loading…
Reference in a new issue