about summary refs log tree commit diff
path: root/src/libmain/common-args.cc
AgeCommit message (Collapse)AuthorFilesLines
2019-06-24 Add '--no-net' convenience flagEelco Dolstra1-0/+11
This flag * Disables substituters. * Sets the tarball-ttl to infinity (ensuring e.g. that the flake registry and any downloaded flakes are considered current). * Disables retrying downloads and sets the connection timeout to the minimum. (So it doesn't completely disable downloads at the moment.) (cherry picked from commit 8ea842260b4fd93315d35c5ba94b1ff99ab391d8)
2019-06-15 nix: Support -j flagEelco Dolstra1-0/+9
2018-05-30 Modularize config settingsEelco Dolstra1-2/+2
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.
2018-02-08 nix-env: Fix parsing of --systemEelco Dolstra1-0/+4
https://hydra.nixos.org/build/68827814
2017-11-14 Make config options available to legacy commandsEelco Dolstra1-0/+4
2017-10-24 nix: Respect -I, --arg, --argstrEelco Dolstra1-13/+15
Also, random cleanup to argument handling.
2017-06-07 Don't show flags from config settings in "nix --help"Eelco Dolstra1-2/+6
2017-04-13 Convert Settings to the new config systemEelco Dolstra1-1/+5
This makes all config options self-documenting. Unknown or unparseable config settings and --option flags now cause a warning.
2016-04-25 Improved logging abstractionEelco Dolstra1-9/+0
This also gets rid of --log-type, since the nested log type isn't useful in a multi-threaded situation, and nobody cares about the "pretty" log type.
2016-02-09 Start of new Nix command-line interfaceEelco Dolstra1-0/+1
2016-02-09 New command line parsing infrastructureEelco Dolstra1-0/+37