aboutsummaryrefslogtreecommitdiff
path: root/src/nix/bundle.cc
diff options
context:
space:
mode:
authorJohn Ericson <John.Ericson@Obsidian.Systems>2020-12-20 14:02:12 +0000
committerJohn Ericson <John.Ericson@Obsidian.Systems>2020-12-20 14:02:12 +0000
commitbd96403da6a1181e46a52be7befade0c00f9e743 (patch)
tree0f66b119acd03c11e2cad776087889b7827261dc /src/nix/bundle.cc
parentbdc772022766e65fa8ea6d29fff0735529ab47f3 (diff)
parentec3e20283216374c15843c403363a890221d3fcb (diff)
Merge remote-tracking branch 'upstream/master' into trustless-remote-builder-simple
Diffstat (limited to 'src/nix/bundle.cc')
-rw-r--r--src/nix/bundle.cc5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/nix/bundle.cc b/src/nix/bundle.cc
index 2d0a0b6ea..eddd82f40 100644
--- a/src/nix/bundle.cc
+++ b/src/nix/bundle.cc
@@ -32,6 +32,7 @@ struct CmdBundle : InstallableCommand
.handler = {&outLink},
.completer = completePath
});
+
}
std::string description() override
@@ -116,10 +117,6 @@ struct CmdBundle : InstallableCommand
auto outPathS = store->printStorePath(outPath);
- auto info = store->queryPathInfo(outPath);
- if (!info->references.empty())
- throw Error("'%s' has references; a bundler must not leave any references", outPathS);
-
if (!outLink)
outLink = baseNameOf(app.program);