mirror of
https://github.com/NixOS/nix.git
synced 2025-11-28 13:11:00 +01:00
nix flake clone: Support all input types
For input types that have no concept of cloning, we now default to copying the entire source tree.
This commit is contained in:
parent
95da93c05b
commit
d07c24f4c8
6 changed files with 34 additions and 14 deletions
|
|
@ -278,7 +278,8 @@ struct GitInputScheme : InputScheme
|
|||
return res;
|
||||
}
|
||||
|
||||
void clone(const Settings & settings, const Input & input, const std::filesystem::path & destDir) const override
|
||||
void clone(const Settings & settings, ref<Store> store, const Input & input, const std::filesystem::path & destDir)
|
||||
const override
|
||||
{
|
||||
auto repoInfo = getRepoInfo(input);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue