Revert "use builtin fetchers to prevent importing from derivation"
This reverts commit 124ffb8b10.
This commit is contained in:
parent
f7a8234d04
commit
3fa176577b
2 changed files with 4 additions and 13 deletions
|
|
@ -47,14 +47,6 @@ else if (lib.hasPrefix "https://gitlab.com" attr.url || type == "gitlab") && !su
|
|||
else
|
||||
fetchgit {
|
||||
inherit (attr) url;
|
||||
inherit (revision) rev;
|
||||
inherit (revision) rev sha256;
|
||||
fetchSubmodules = submodules;
|
||||
}
|
||||
// (
|
||||
if fetchgit == builtins.fetchGit or null then
|
||||
{ inherit submodules; }
|
||||
else
|
||||
{
|
||||
inherit (revision) sha256;
|
||||
fetchSubmodules = submodules;
|
||||
}
|
||||
)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue