about summary refs log tree commit diff
path: root/src/nix-env/names.hh
diff options
context:
space:
mode:
authorEelco Dolstra <e.dolstra@tudelft.nl>2004-02-09T11·59+0000
committerEelco Dolstra <e.dolstra@tudelft.nl>2004-02-09T11·59+0000
commit618aa69b015bd3ee1f6e19f3025e31fae0241826 (patch)
treed99d3908c5c26c722600b78071d2546dcd4cf20a /src/nix-env/names.hh
parent06a75a7e0c1813d90c205e654da43a32812ce5f4 (diff)
* In `--upgrade': added flags `--lt', `--leq', `--always' to specify
  whether we want to upgrade if the current version is less than the
  available version (default), when it is less or equal, or always.
  
* Added a flag `--dry-run' to show what would happen in `--install',
  `--uninstall', and `--upgrade', without actually performing the
  operation.

Diffstat (limited to 'src/nix-env/names.hh')
-rw-r--r--src/nix-env/names.hh1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/nix-env/names.hh b/src/nix-env/names.hh
index 0fc9b57d0741..aeb923546fd8 100644
--- a/src/nix-env/names.hh
+++ b/src/nix-env/names.hh
@@ -14,6 +14,7 @@ struct DrvName
     string version;
     unsigned int hits;
 
+    DrvName();
     DrvName(const string & s);
     bool matches(DrvName & n);
 };