diff --git a/lib/repoSource.nix b/lib/repoSource.nix index da3520554..d2ffb30ef 100644 --- a/lib/repoSource.nix +++ b/lib/repoSource.nix @@ -45,16 +45,18 @@ else if (lib.hasPrefix "https://gitlab.com" attr.url || type == "gitlab") && !su inherit (revision) sha256; } else - fetchgit { - inherit (attr) url; - inherit (revision) rev; - } - // ( - if fetchgit == builtins.fetchGit or null then - { inherit submodules; } - else - { - inherit (revision) sha256; - fetchSubmodules = submodules; - } + fetchgit ( + { + inherit (attr) url; + inherit (revision) rev; + } + // ( + if fetchgit == builtins.fetchGit or null then + { inherit submodules; } + else + { + inherit (revision) sha256; + fetchSubmodules = submodules; + } + ) )