about summary refs log tree commit diff
path: root/src/nix/show-config.cc
AgeCommit message (Collapse)AuthorFilesLines
2018-05-30 Modularize config settingsEelco Dolstra1-3/+5
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-14 Don't indent JSON outputEelco Dolstra1-1/+1
2017-04-25 Move code aroundEelco Dolstra1-1/+0
2017-04-24 Factor out --jsonEelco Dolstra1-4/+1
2017-04-20 Improve nix show-config --jsonEelco Dolstra1-2/+1
In particular, show descriptions. This could be used for manpage generation etc.
2017-04-13 Add "nix show-config" commandEelco Dolstra1-0/+43
This dumps the entire Nix configuration, including all options that have default values.