#2104: Support NixOS -------------------------+-------------------------------------------------- Reporter: eschnett | Owner: Type: enhancement | Status: new Priority: unset | Milestone: Component: Cactus | Version: development version Keywords: | -------------------------+-------------------------------------------------- NixOS is a new Linux-based distribution. To make things work, a few small changes are necessary.
https://bitbucket.org/cactuscode/cactus/pull-requests/46/flesh-support- nixos/diff
#2104: Support NixOS --------------------------+------------------------------------------------- Reporter: eschnett | Owner: Type: enhancement | Status: review Priority: unset | Milestone: Component: Cactus | Version: development version Resolution: | Keywords: --------------------------+------------------------------------------------- Changes (by sbrandt):
* status: new => review
#2104: Support NixOS --------------------------+------------------------------------------------- Reporter: eschnett | Owner: Type: enhancement | Status: review Priority: unset | Milestone: Component: Cactus | Version: development version Resolution: | Keywords: --------------------------+-------------------------------------------------
Comment (by sbrandt):
This is a lot changed here. Is all this just NixOS support?
#2104: Support NixOS --------------------------+------------------------------------------------- Reporter: eschnett | Owner: Type: enhancement | Status: review Priority: unset | Milestone: Component: Cactus | Version: development version Resolution: | Keywords: --------------------------+-------------------------------------------------
Comment (by eschnett):
There are only a few lines of real changes to configure.in and make.configuration. The other changes are caused by regenerating configure and updating config.guess to a newer version.
#2104: Support NixOS -----------------------------+--------------------------------- Reporter: Erik Schnetter | Owner: (none) Type: enhancement | Status: review Priority: unset | Milestone: Component: Cactus | Version: development version Resolution: | Keywords: -----------------------------+---------------------------------
Comment (by Frank Löffler):
One of the changes sets LD to CXX if LD was set to 'ld'. Before, if LD was set to anything, that setting was honored. If LD is set to 'ld' on NixOS by default, would it be possible to set LD to something else than 'ld' (CXX) in the configuration file, instead of hard-coding this into Cactus make? That way, on all systems (not just NixOS), the setting of LD would be continued to be honored.
#2104: Support NixOS -----------------------------+--------------------------------- Reporter: Erik Schnetter | Owner: (none) Type: enhancement | Status: review Priority: unset | Milestone: Component: Cactus | Version: development version Resolution: | Keywords: -----------------------------+---------------------------------
Comment (by Erik Schnetter):
Cactus expects LD to be the C++ compiler driver to be used for linking, not the linker. In other words, setting LD to "ld" is almost guaranteed to be wrong, and setting it to the value of CXX is a good default choice. Since the Cactus definition of LD goes against the grain of what LD means everywhere else (e.g. in autotools), handling this problematic case generically is better than applying a NixOS-only solution.
trac@lists.einsteintoolkit.org