aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthew Bauer <mjbauer95@gmail.com>2020-07-30 15:05:51 -0500
committerMatthew Bauer <mjbauer95@gmail.com>2020-07-30 15:16:29 -0500
commit1a705637ce96c30424409d74cb3411554ae2847e (patch)
tree7d3935ed940164cdc5e2b9b46bdd83e33ba07bb2
parent52407f83a133ba605a1f0891c3812fa89038bba8 (diff)
Remove single file restriction for bundler
-rw-r--r--src/nix/bundle.cc3
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())