diff options
author | Eelco Dolstra <edolstra@gmail.com> | 2018-02-13T11·15+0100 |
---|---|---|
committer | Eelco Dolstra <edolstra@gmail.com> | 2018-02-13T11·15+0100 |
commit | 1c10a74c73e710d164d9e5c527f98b309a6f7b2c (patch) | |
tree | 11d7729c31624fe452ef8ee1727bc16b229a2583 /src/nix-prefetch-url | |
parent | c5cc57e96220cd3ed915875f3b1eeb2ba1f98a30 (diff) | |
parent | 88cd2d41acb994684a3e4ead1b1676019f43b4b6 (diff) |
Merge branch 'plugins' of https://github.com/shlevy/nix
Diffstat (limited to 'src/nix-prefetch-url')
-rw-r--r-- | src/nix-prefetch-url/nix-prefetch-url.cc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/nix-prefetch-url/nix-prefetch-url.cc b/src/nix-prefetch-url/nix-prefetch-url.cc index fef3eaa45538..fa7ee254500c 100644 --- a/src/nix-prefetch-url/nix-prefetch-url.cc +++ b/src/nix-prefetch-url/nix-prefetch-url.cc @@ -89,6 +89,8 @@ int main(int argc, char * * argv) myArgs.parseCmdline(argvToStrings(argc, argv)); + initPlugins(); + if (args.size() > 2) throw UsageError("too many arguments"); |