diff options
author | Eelco Dolstra <edolstra@gmail.com> | 2019-10-21 18:58:38 +0200 |
---|---|---|
committer | Eelco Dolstra <edolstra@gmail.com> | 2019-10-21 18:58:38 +0200 |
commit | cb1a79a96aa0602383f2fe33702f6adeee708922 (patch) | |
tree | 7dfee478ed10d7a3b245b02b4af97a672d5c5a73 /src | |
parent | 9a18f544ac09c3a40e9a87c166edd878a1368c6f (diff) |
Fix build
Diffstat (limited to 'src')
-rw-r--r-- | src/nix/make-content-addressable.cc | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/src/nix/make-content-addressable.cc b/src/nix/make-content-addressable.cc index 16344ee14..5b99b5084 100644 --- a/src/nix/make-content-addressable.cc +++ b/src/nix/make-content-addressable.cc @@ -11,11 +11,6 @@ struct CmdMakeContentAddressable : StorePathsCommand realiseMode = Build; } - std::string name() override - { - return "make-content-addressable"; - } - std::string description() override { return "rewrite a path or closure to content-addressable form"; @@ -92,4 +87,4 @@ struct CmdMakeContentAddressable : StorePathsCommand } }; -static RegisterCommand r1(make_ref<CmdMakeContentAddressable>()); +static auto r1 = registerCommand<CmdMakeContentAddressable>("make-content-addressable"); |