GNU bug report logs -
#29425
Prosody patches
Previous Next
Reported by: Clément Lassieur <clement <at> lassieur.org>
Date: Fri, 24 Nov 2017 16:49:02 UTC
Severity: normal
Tags: fixed
Done: clement <at> lassieur.org (Clément Lassieur)
Bug is archived. No further changes may be made.
Full log
Message #26 received at 29425 <at> debbugs.gnu.org (full text, mbox):
Clément Lassieur <clement <at> lassieur.org> skribis:
> * gnu/packages/lua.scm (lua5.1-bitop): New variable.
[...]
> +(define-public lua5.1-bitop
> + (package
> + (inherit lua5.2-bitop)
> + (name "lua5.1-bitop")
> + ;; XXX: The arguments field is almost an exact copy of the field in
> + ;; "lua5.2-bitop", except for the version string, which was derived from
> + ;; "lua-5.2" and now is taken from "lua-5.1". See this discussion for
> + ;; context:
> + ;; http://lists.gnu.org/archive/html/guix-devel/2017-01/msg02048.html
> + (arguments
> + `(#:test-target "test"
> + #:make-flags
> + (list "INSTALL=install -pD"
> + (string-append "INSTALLPATH=printf "
> + (assoc-ref %outputs "out")
> + "/lib/lua/"
> + ,(version-major+minor (package-version lua-5.1))
> + "/bit/bit.so"))
> + #:phases
> + (modify-phases %standard-phases
> + (delete 'configure))))
Maybe we could write:
(define (lua-bitop lua)
(package
…))
(define lua5.1-bitop (lua-bitop lua-5.1))
(define lua5.2-bitop (lua-bitop lua-5.2))
?
If not, this patch LGTM.
Thank you,
Ludo’.
This bug report was last modified 7 years and 182 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.