aboutsummaryrefslogtreecommitdiff
path: root/src/nix-build
diff options
context:
space:
mode:
authorEelco Dolstra <edolstra@gmail.com>2022-09-27 11:37:09 +0200
committerGitHub <noreply@github.com>2022-09-27 11:37:09 +0200
commitace9f261dad4fae55c1ec209c15d244165f5c07b (patch)
tree181f37ab4c213ec586cc16d0fc8887c12cb24793 /src/nix-build
parentdfc3a9afc38c55a9a74f9cbe9d37b8fa094fbe4d (diff)
parent19f3ecd830d092caccf43ab122b9a01ccb2ce98f (diff)
Merge pull request #7103 from lheckemann/remove-add-root
nix-build: remove unused --add-root arg
Diffstat (limited to 'src/nix-build')
-rw-r--r--src/nix-build/nix-build.cc4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/nix-build/nix-build.cc b/src/nix-build/nix-build.cc
index df292dce6..adcaab686 100644
--- a/src/nix-build/nix-build.cc
+++ b/src/nix-build/nix-build.cc
@@ -85,7 +85,6 @@ static void main_nix_build(int argc, char * * argv)
Strings attrPaths;
Strings left;
RepairFlag repair = NoRepair;
- Path gcRoot;
BuildMode buildMode = bmNormal;
bool readStdin = false;
@@ -167,9 +166,6 @@ static void main_nix_build(int argc, char * * argv)
else if (*arg == "--out-link" || *arg == "-o")
outLink = getArg(*arg, arg, end);
- else if (*arg == "--add-root")
- gcRoot = getArg(*arg, arg, end);
-
else if (*arg == "--dry-run")
dryRun = true;