about summary refs log tree commit diff
path: root/doc/manual/nix-env.xml
AgeCommit message (Collapse)AuthorFilesLines
2014-04-15 nix-env: Minor change to '--delete-generations Nd' semanticsRicardo M. Correia1-1/+2
The option '--delete-generations Nd' deletes all generations older than N days. However, most likely the user does not want to delete the generation that was active N days ago. For example, say that you have these 3 generations: 1: <30 days ago> 2: <15 days ago> 3: <1 hour ago> If you do --delete-generations 7d (say, as part of a cron job), most likely you still want to keep generation 2, i.e. the generation that was active 7 days ago (and for most of the past 7 days, in fact). This patch fixes this issue. Note that this also affects 'nix-collect-garbage --delete-older-than Nd'. Thanks to @roconnor for noticing the issue!
2014-03-30 nix-env: Add support for --delete-generations 15dRicardo M. Correia1-3/+7
It will delete all generations older than the specified number of days.
2014-03-12 Document nix-env -q --jsonEelco Dolstra1-0/+8
2013-10-24 Rename "attribute sets" to "sets"Eelco Dolstra1-6/+5
We don't have any other kind of sets so calling them attribute sets is unnecessarily verbose.
2013-09-03 nix-env -i: Add a flag ‘--remove-all’ / ‘-r’Eelco Dolstra1-0/+14
This is equivalent to running ‘nix-env -e '*'’ first, except that it happens in a single transaction. Thus, ‘nix-env -i pkgs...’ replaces the profile with the specified set of packages. The main motivation is to support declarative package management (similar to environment.systemPackages in NixOS). That is, if you have a specification ‘profile.nix’ like this: with import <nixpkgs> {}; [ thunderbird geeqie ... ] then after any change to ‘profile.nix’, you can run: $ nix-env -f profile.nix -ir to update the profile to match the specification. (Without the ‘-r’ flag, if you remove a package from ‘profile.nix’, it won't be removed from the actual profile.) Suggested by @zefhemel.
2013-08-26 Fix typos, especially those that end up in the Nix manualIvan Kozik1-3/+3
2012-12-12 Allow setting the profile location using $NIX_PROFILEEelco Dolstra1-4/+13
Fixes #69.
2012-09-13 nix-env --delete-generations: Support --dry-run flagEelco Dolstra1-1/+2
Fixes #43.
2012-04-06 Documentation fixEelco Dolstra1-5/+3
2012-04-06 Include environment variables in the manpagesEelco Dolstra1-0/+8
2012-04-06 Include common options in the manpages using some XInclude hackeryEelco Dolstra1-3/+7
2011-12-01 doc/manual/nix-env.xml: fixed "nix-env -qaA" typoPeter Simons1-1/+1
2011-12-01 doc/manual/nix-env.xml: stripped trailing whitespacePeter Simons1-100/+100
2009-07-14 * Remove the redundant <sections> around refentries.Eelco Dolstra1-1/+2
2008-11-19 (no commit message)Eelco Dolstra1-1/+1
2007-12-31 * More documentation.Eelco Dolstra1-16/+188
2007-12-04 * component -> package.Eelco Dolstra1-6/+6
2007-10-31 * Documented multi-user Nix.Eelco Dolstra1-17/+26
2007-09-19 * Manpage for nix-copy-closure.Eelco Dolstra1-1/+9
2007-09-17 * nix-env: allow ~/.nix-defexpr to be a directory. If it is, then theEelco Dolstra1-43/+4
Nix expressions in that directory are combined into an attribute set {file1 = import file1; file2 = import file2; ...}, i.e. each Nix expression is an attribute with the file name as the attribute name. Also recurses into directories. * nix-env: removed the "--import" (-I) option which set the ~/.nix-defexpr symlink. * nix-channel: don't use "nix-env --import", instead symlink ~/.nix-defexpr/channels. So finally nix-channel --update doesn't override any default Nix expressions but combines with them. This means that you can have (say) a local Nixpkgs SVN tree and use it as a default for nix-env: $ ln -s .../path-to-nixpkgs-tree ~/.nix-defexpr/nixpkgs_svn and be subscribed to channels (including Nixpkgs) at the same time. (If there is any ambiguity, the -A flag can be used to disambiguate, e.g. "nix-env -i -A nixpkgs_svn.pan".)
2007-02-05 * Compatibility with docbook5-xsl.Eelco Dolstra1-1/+1
2006-10-06 * Typos etc.Eelco Dolstra1-1/+10
* Set the release date.
2006-10-05 * Documented new nix-env options.Eelco Dolstra1-19/+131
2006-10-05 * Documented --attr / -A.Eelco Dolstra1-1/+8
2006-10-05 * Document --arg.Eelco Dolstra1-14/+1
2006-08-21 * Convert to DocBook 5.Eelco Dolstra1-3/+4
* Use Jing for RelaxNG validation, xmllint seems buggy.
2005-10-06 * Document `nix-env --compare-versions'.Eelco Dolstra1-10/+69
2005-05-09 * Crazy: don't use real hashes of real components in examples, sinceEelco Dolstra1-1/+1
they cause Nix builds to have unnecessary retained dependences (e.g., on Subversion).
2005-04-10 * Manual updates.Eelco Dolstra1-759/+751
2005-03-16 * Documented common environment variables.Eelco Dolstra1-3/+2
2005-03-15 * XInclude all the way.Eelco Dolstra1-2/+2
2004-11-12 * Document --delete-generations and other nix-env options.Eelco Dolstra1-0/+78
2004-06-28 * By default, `nix-env -i' now deletes previously installedEelco Dolstra1-0/+37
derivations with names matching the derivations being installed. The option `--preserve-installed / -P' overrides this behaviour.
2004-06-28 * `nix-env -u' now allows a specific version to be specified whenEelco Dolstra1-0/+3
upgrading. This fixes a bug reported by Martin: $ nix-env -i foo-1.0 $ nix-env -u foo-1.0 upgrading foo-1.0 to foo-1.1
2004-02-10 * Lots of manual stuff. Reference pages for most Nix commands.Eelco Dolstra1-2/+224
* nix-pull now requires the full url to the manifest, i.e., `/MANIFEST/' is no longer automatically appended. * nix-prefetch-url works again.
2004-02-10 * Documented the most important nix-env flags.Eelco Dolstra1-5/+442
2004-02-06 * Improvements to profiles. Generations are now per-profile, e.g.,Eelco Dolstra1-5/+5
default -> default-94-link default-82-link -> /nix/store/cc4480... default-83-link -> /nix/store/caeec8... ... default-94-link -> /nix/store/2896ca... experimental -> experimental-2-link experimental-1-link -> /nix/store/cc4480... experimental-2-link -> /nix/store/a3148f... * `--profile' / `-p' -> `--switch-profile' / `-S' * `--link' / `-l' -> `--profile' / `-p' * The default profile is stored in $prefix/var/nix/profiles. $prefix/var/nix/links is gone. Profiles can be stored anywhere. * The current profile is now referenced from ~/.nix-profile, not ~/.nix-userenv. * The roots to the garbage collector now have extension `.gcroot', not `.id'.
2004-02-02 * Sort `nix-env -q' output by derivation name.Eelco Dolstra1-7/+2
* `--version' flag for all commands. * Manual updates.
2004-01-13 * Option `-B' to always show the output of builders, regardless ofEelco Dolstra1-0/+2
verbosity level.
2004-01-09 * Option `--force-realise' in `nix-store --query'.Eelco Dolstra1-16/+13
2004-01-08 * Start of nix-env reference.Eelco Dolstra1-0/+166
* Some CSS tweaks.