diff options
author | Eelco Dolstra <edolstra@gmail.com> | 2020-11-23 12:48:07 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-11-23 12:48:07 +0100 |
commit | 1973669e868f4414b666d0fbd34f1a7a87322ae9 (patch) | |
tree | 230f785a265e7217f57b5241f174175a0e33947b | |
parent | 7827d95f6cfdf37f77f78059ffa3c3b7b1304d5f (diff) | |
parent | 07603890d2867907905ba411cee550390d868936 (diff) |
Merge pull request #4271 from wiltaylor/IgnoreReferenceSwitch
Skip Reference Check on bundler
-rw-r--r-- | src/nix/bundle.cc | 5 |
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); |