aboutsummaryrefslogtreecommitdiff
path: root/src/nix/show-config.cc
AgeCommit message (Collapse)Author
2018-05-30Modularize config settingsEelco Dolstra
Allow global config settings to be defined in multiple Config classes. For example, this means that libutil can have settings and evaluator settings can be moved out of libstore. The Config classes are registered in a new GlobalConfig class to which config files etc. are applied. Relevant to https://github.com/NixOS/nix/issues/2009 in that it removes the need for ad hoc handling of useCaseHack, which was the underlying cause of that issue.
2017-11-14Don't indent JSON outputEelco Dolstra
2017-04-25Move code aroundEelco Dolstra
2017-04-24Factor out --jsonEelco Dolstra
2017-04-20Improve nix show-config --jsonEelco Dolstra
In particular, show descriptions. This could be used for manpage generation etc.
2017-04-13Add "nix show-config" commandEelco Dolstra
This dumps the entire Nix configuration, including all options that have default values.