katawa-shoujo-re-engineered: compile rpy files in the build phase#490290
katawa-shoujo-re-engineered: compile rpy files in the build phase#490290UlyssesZh wants to merge 1 commit intoNixOS:masterfrom
Conversation
|
oh so renpy depends on python-ecdsa which is a purely educational crypto library that is absolutely not meant for usage anywhere |
|
ok it has been replaced in unreleased renpy |
quantenzitrone
left a comment
There was a problem hiding this comment.
code looks good other than the nit
game builds, runs and plays fine
i seem to be having heavy memory leaks during cutscenes (~350MB/s), however this is independent of the game being pre-compiled or not, so not an issue with this pr but probably a renpy or ksre upstream bug
82aef99 to
50d0388
Compare
| configurePhase = '' | ||
| runHook preConfigure | ||
|
|
||
| substituteInPlace game/config.rpy --replace-fail 0.0.0-localbuild ${finalAttrs.version} | ||
|
|
||
| runHook postConfigure | ||
| ''; |
There was a problem hiding this comment.
if separate, that definitely belongs in the patchPhase
| configurePhase = '' | |
| runHook preConfigure | |
| substituteInPlace game/config.rpy --replace-fail 0.0.0-localbuild ${finalAttrs.version} | |
| runHook postConfigure | |
| ''; | |
| postPatch = '' | |
| substituteInPlace game/config.rpy --replace-fail 0.0.0-localbuild ${finalAttrs.version} | |
| ''; |
There was a problem hiding this comment.
Actually this definitely is the configure phase.
There was a problem hiding this comment.
hm i don't know enough about what the configure phase is supposed to be other than autotools specific running the ./configure script.
so since you're so sure, i'll let it go
|
bisecting the memory leak is actually impossible |
There was a problem hiding this comment.
The worry that I have about this package is this comment here: #490290 (comment) about a memory leak, but if it's impossible to bisect then I wouldn't bother it in this pr. It would be good to create an issue for that upstream to the katawa-shoujo-re-engineered repo so that way people are aware of a memory leak. Everything else looks good.
|
renpy/renpy#6934 |
This significantly speeds up launching.
Things done
passthru.tests.nixpkgs-reviewon this PR. See nixpkgs-review usage../result/bin/.