mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-24 05:18:07 -05:00
gnu: idris: Fix idris-default-arguments.
* gnu/packages/idris.scm (idris-default-arguments): Don't set IDRIS_LIBRARY_PATH before building and change --install to --build. Signed-off-by: Marius Bakke <mbakke@fastmail.com>
This commit is contained in:
parent
b74f224744
commit
178670c9eb
1 changed files with 4 additions and 2 deletions
|
@ -146,12 +146,14 @@ (define (idris-default-arguments name)
|
|||
idris-path-files))
|
||||
(install-cmd (cons* idris-bin
|
||||
"--ibcsubdir" ibcsubdir
|
||||
"--install" ipkg
|
||||
"--build" ipkg
|
||||
;; only trigger a build, as --ibcsubdir
|
||||
;; already installs .ibc files.
|
||||
|
||||
(apply append (map (lambda (path)
|
||||
(list "--idrispath"
|
||||
path))
|
||||
idris-path-subdirs)))))
|
||||
(setenv "IDRIS_LIBRARY_PATH" idris-libs)
|
||||
;; FIXME: Seems to be a bug in idris that causes a dubious failure.
|
||||
(apply system* install-cmd)
|
||||
#t))))))
|
||||
|
|
Loading…
Reference in a new issue