Avoid top-level `with ...;` in pkgs/build-support/fetchrepoproject/default.nix

authored by philiptaron.tngl.sh and committed by Valentin Gagarin aa32ce52 4fc5d505

+7 -2
+7 -2
pkgs/build-support/fetchrepoproject/default.nix
··· 9 assert repoRepoRev != "" -> repoRepoURL != ""; 10 assert createMirror -> !useArchive; 11 12 - with lib; 13 14 - let 15 extraRepoInitFlags = [ 16 (optionalString (repoRepoURL != "") "--repo-url=${repoRepoURL}") 17 (optionalString (repoRepoRev != "") "--repo-branch=${repoRepoRev}")
··· 9 assert repoRepoRev != "" -> repoRepoURL != ""; 10 assert createMirror -> !useArchive; 11 12 + let 13 + inherit (lib) 14 + concatMapStringsSep 15 + concatStringsSep 16 + fetchers 17 + optionalString 18 + ; 19 20 extraRepoInitFlags = [ 21 (optionalString (repoRepoURL != "") "--repo-url=${repoRepoURL}") 22 (optionalString (repoRepoRev != "") "--repo-branch=${repoRepoRev}")