diff options
author | Eelco Dolstra <e.dolstra@tudelft.nl> | 2006-12-05T02·18+0000 |
---|---|---|
committer | Eelco Dolstra <e.dolstra@tudelft.nl> | 2006-12-05T02·18+0000 |
commit | a9c4f66cfb1618833cc70ceaf13733730b634193 (patch) | |
tree | 47d3b9aab72f561e2e15f18b8ad415153bfd56ef /src/nix-env | |
parent | 29cf434a35d82529f56c085c9cd50858c148d086 (diff) |
* Allow unprivileged users to run the garbage collector and to do
`nix-store --delete'. But unprivileged users are not allowed to ignore liveness. * `nix-store --delete --ignore-liveness': ignore the runtime roots as well.
Diffstat (limited to 'src/nix-env')
-rw-r--r-- | src/nix-env/main.cc | 1 | ||||
-rw-r--r-- | src/nix-env/profiles.cc | 2 |
2 files changed, 1 insertions, 2 deletions
diff --git a/src/nix-env/main.cc b/src/nix-env/main.cc index f2988485cdfd..90d799224efd 100644 --- a/src/nix-env/main.cc +++ b/src/nix-env/main.cc @@ -2,7 +2,6 @@ #include "names.hh" #include "globals.hh" #include "misc.hh" -#include "gc.hh" #include "shared.hh" #include "parser.hh" #include "eval.hh" diff --git a/src/nix-env/profiles.cc b/src/nix-env/profiles.cc index 0014161842e5..75585b1b2907 100644 --- a/src/nix-env/profiles.cc +++ b/src/nix-env/profiles.cc @@ -1,6 +1,6 @@ #include "profiles.hh" +#include "store-api.hh" #include "util.hh" -#include "gc.hh" #include <sys/types.h> #include <sys/stat.h> |