gnu: freefall: Return #t from all phases.

* gnu/packages/linux.scm (freefall)[arguments]: Return #t from all phase
procedures.
This commit is contained in:
Mark H Weaver 2018-03-16 02:16:06 -04:00
parent 90a54e3674
commit 2ee42f7e32
No known key found for this signature in database
GPG key ID: 7CEF29847562C516

View file

@ -3292,14 +3292,16 @@ (define-public freefall
'(#:phases (modify-phases %standard-phases
(add-after 'unpack 'enter-subdirectory
(lambda _
(chdir "tools/laptop/freefall")))
(chdir "tools/laptop/freefall")
#t))
(delete 'configure)
(add-before 'build 'increase-timeout
(lambda _
;; The default of 2 seconds is too low: it assumes an
;; open lid and AC power without actually checking.
(substitute* "freefall.c"
(("alarm\\(2\\)") "alarm(5)")))))
(("alarm\\(2\\)") "alarm(5)"))
#t)))
#:make-flags (list (string-append "PREFIX="
(assoc-ref %outputs "out")))
#:tests? #f)) ;no tests