diff options
Diffstat (limited to 'src/nix/hash.cc')
-rw-r--r-- | src/nix/hash.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nix/hash.cc b/src/nix/hash.cc index 8d4bc7826..d9079d551 100644 --- a/src/nix/hash.cc +++ b/src/nix/hash.cc @@ -85,7 +85,7 @@ struct CmdHashBase : Command switch (mode) { case FileIngestionMethod::Flat: - readFileSource(path)->drainInto(*hashSink); + *hashSink << readFileSource(path); break; case FileIngestionMethod::Recursive: *hashSink << dumpPath(path); |