diff options
author | Matthew Bauer <mjbauer95@gmail.com> | 2020-07-30 15:05:51 -0500 |
---|---|---|
committer | Matthew Bauer <mjbauer95@gmail.com> | 2020-07-30 15:16:29 -0500 |
commit | 1a705637ce96c30424409d74cb3411554ae2847e (patch) | |
tree | 7d3935ed940164cdc5e2b9b46bdd83e33ba07bb2 /src/nix/bundle.cc | |
parent | 52407f83a133ba605a1f0891c3812fa89038bba8 (diff) |
Remove single file restriction for bundler
Diffstat (limited to 'src/nix/bundle.cc')
-rw-r--r-- | src/nix/bundle.cc | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/src/nix/bundle.cc b/src/nix/bundle.cc index e7338262b..677d42520 100644 --- a/src/nix/bundle.cc +++ b/src/nix/bundle.cc @@ -107,10 +107,7 @@ struct CmdBundle : InstallableCommand store->buildPaths({{drvPath}}); - auto accessor = store->getFSAccessor(); auto outPathS = store->printStorePath(outPath); - if (accessor->stat(outPathS).type != FSAccessor::tRegular) - throw Error("'%s' is not a file; a bundler must only create a single file", outPathS); auto info = store->queryPathInfo(outPath); if (!info->references.empty()) |