aboutsummaryrefslogtreecommitdiff
path: root/src/nix/hash.cc
diff options
context:
space:
mode:
authorJohn Ericson <John.Ericson@Obsidian.Systems>2023-03-15 17:23:40 -0400
committerGitHub <noreply@github.com>2023-03-15 17:23:40 -0400
commiteb56cb7cc7fa9fb58e2d9dc0322375da23b0eb65 (patch)
treebe3dafde2c0cb469b5cef284ef0d8853a18786c6 /src/nix/hash.cc
parent0a140a92bb6ccfd0d84465f37e6561900a48f490 (diff)
parentbc23a44c54510c23dcbba030c39e8a1f3169c869 (diff)
Merge pull request #7750 from obsidiansystems/no-args-prepare
Make command infra less stateful and more regular
Diffstat (limited to 'src/nix/hash.cc')
-rw-r--r--src/nix/hash.cc1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/nix/hash.cc b/src/nix/hash.cc
index e2630505b..9feca9345 100644
--- a/src/nix/hash.cc
+++ b/src/nix/hash.cc
@@ -151,7 +151,6 @@ struct CmdHash : NixMultiCommand
{
if (!command)
throw UsageError("'nix hash' requires a sub-command.");
- command->second->prepare();
command->second->run();
}
};