3 ms·
That's nice, but why stop at being a package manager? Why not also replace the build tool (make et al.)? If all the functional machinery is in place, this woul
by amelius 12y ago
That's nice, but why stop at being a package manager? Why not also replace the build tool (make et al.)?
If all the functional machinery is in place, this would be perfect for a build tool.
- Sanddancer 12y agoBecause that means yet another build tool users have to maintain, check for security updates, etc. Packagers for people not using guix will need to start including it, etc, which will just add to the absolute excess of build tools out there. Currently installed on my system are bsd make, cmake, gmake, and scons, just to handle various software I've installed. Plus, you have samba in there that drags in Waf for its builds, and I know that there's some package out there I'm gonna want to poke at that's gonna wanna bring its buddies ant and/or nant in to party too. Unless the new and improved tool can understand all those tools, it's just gonna add to the mess.
- sparkie 12y agoEventually this will probably happen in one way or another - although make isn't going to be replaced - it'll remain there for compatibility. Currently, in a guix package, you specify how the package is built - and there are some predefined configurations built into guix, such as the gnu-build-system. It's perfectly possible to write your own build script in guile alone, or you can call other build tools. In case you missed it, GNU Make already has Guile support built in - so you can already use it to augment your build process without throwing away make. The real advantage of having a build process as part of Guix will come when we can throw away horrible hacks like pkg-config - since the Guix model of exact dependencies offers far more accurate information that pkg-config can guess, we'd have more reliability with less effort, and probably big performance gains.