mirror of
https://github.com/privatevoid-net/nix-super.git
synced 2024-11-10 08:16:15 +02:00
Merge pull request #4271 from wiltaylor/IgnoreReferenceSwitch
Skip Reference Check on bundler
This commit is contained in:
commit
1973669e86
1 changed files with 1 additions and 4 deletions
|
@ -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);
|
||||
|
||||
|
|
Loading…
Reference in a new issue