Skip to content

Binary build system tweaks

Ambrevar requested to merge binary-build-system-tweaks into master

When switching to the binary-build-system for FTL, I noticed a couple of issues:

  • Files cannot be renamed in the install plan. I've changed it so that a trailing slash in the target means "this is the target folder, use the same basename" while no trailing slash means "the last element is the new basename". This is necessary because some files like the .desktop files might have generic names which could collide with other game when installed to a profile.

  • I could not call make-desktop-file-entry because the module was not loaded. So I've included it, but now I'm realizing that this should probably be in a (guix-gaming build utils) module so that we don't have to edit the build system whenever we add a new helper procedure.

  • @roptat: I'm wondering why the build system is in (guix ...). Shouldn't it be in (guix-gaming ...)?

Merge request reports