Opened 10 months ago

Last modified 2 weeks ago

#2104 review enhancement

Support NixOS

Reported by: Erik Schnetter Owned by:
Priority: unset Milestone:
Component: Cactus Version: development version
Keywords: Cc:


NixOS is a new Linux-based distribution. To make things work, a few small changes are necessary.

Attachments (0)

Change History (5)

comment:1 Changed 9 months ago by Steven R. Brandt

Status: newreview

comment:2 Changed 8 months ago by Steven R. Brandt

This is a lot changed here. Is all this just NixOS support?

comment:3 Changed 8 months ago by Erik Schnetter

There are only a few lines of real changes to and make.configuration. The other changes are caused by regenerating configure and updating config.guess to a newer version.

comment:4 Changed 2 weeks ago 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.

comment:5 Changed 2 weeks ago 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.

Modify Ticket

Change Properties
Set your email in Preferences
as review The ticket will remain with no owner.
Next status will be 'reviewed_ok'.
as The resolution will be set.
The resolution will be deleted.
to The owner will be changed from (none) to the specified user.
to The owner will be changed from (none) to the specified user.
The owner will be changed from (none) to anonymous.

Add Comment

E-mail address and name can be saved in the Preferences.

Note: See TracTickets for help on using tickets.