GNU bug report logs -
#26488
[PATCH] gnu: Add crawl.
Previous Next
Reported by: nee <nee <at> cock.li>
Date: Thu, 13 Apr 2017 21:30:02 UTC
Severity: normal
Tags: patch
Done: Arun Isaac <arunisaac <at> systemreboot.net>
Bug is archived. No further changes may be made.
Full log
View this message in rfc822 format
[Message part 1 (text/plain, inline)]
Am 14.04.2017 um 20:04 schrieb Arun Isaac:
> Try (setenv "HOME" "/tmp") as Danny mentioned.
>
Works, thanks to both of you.
> Only a matter of aesthetics, but you could split "-C" and "source" into
> separate strings.
>
All the packages in games.scm do it as one string, so I didn't change it
for now. It should be changed for all packages at once.
> Put 'check on the same line as replace. In emacs, you can use
> guix-devel-mode from emacs-guix to help you with indenting correctly.
>
Thanks, I installed emacs-guix and it indents correctly now.
Previously I assumed the .dir-locals.el would be enough.
> Looking good so far! Only the check phase remains...
>
Good news everyone, I managed to package the check phase and all the
tests pass! The downside is that in order to run the tests the whole
game must be rebuild with a -DDEBUG define that seems to enable asserts
and debug outputs, otherwise the tests won't run. So the build times are
doubled.
That rebuild overwrites the objects, executable, and the .cflags file
from the build phase, so install would build it a 3rd time.
I worked around this by moving the check phase before the build phase.
I also added myself to the copyright header, since you mentioned that in
the mcomix thread.
[0001-gnu-Add-crawl.patch (text/x-patch, attachment)]
This bug report was last modified 8 years and 116 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.