Skip to content

Commit f64000e

Browse files
authored
Merge pull request NixOS#13756 from xokdvium/fix-copy-path-message
libstore: Fix makeCopyPathMessage
2 parents 4b4895e + e74ef41 commit f64000e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/libstore/store-api.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -803,7 +803,7 @@ makeCopyPathMessage(const StoreConfig & srcCfg, const StoreConfig & dstCfg, std:
803803
/* At this point StoreReference **must** be resolved. */
804804
const auto & specified = std::get<StoreReference::Specified>(ref.variant);
805805
const auto & scheme = specified.scheme;
806-
return (scheme == "local" || scheme == "unix") && specified.authority.empty() && ref.params.empty();
806+
return (scheme == "local" || scheme == "unix") && specified.authority.empty();
807807
};
808808

809809
if (isShorthand(src))

0 commit comments

Comments
 (0)