Avoid top-level with ...;
in pkgs/build-support/fetchrepoproject/default.nix
This commit is contained in:
parent
4fc5d50549
commit
aa32ce526a
@ -9,9 +9,14 @@
|
|||||||
assert repoRepoRev != "" -> repoRepoURL != "";
|
assert repoRepoRev != "" -> repoRepoURL != "";
|
||||||
assert createMirror -> !useArchive;
|
assert createMirror -> !useArchive;
|
||||||
|
|
||||||
with lib;
|
|
||||||
|
|
||||||
let
|
let
|
||||||
|
inherit (lib)
|
||||||
|
concatMapStringsSep
|
||||||
|
concatStringsSep
|
||||||
|
fetchers
|
||||||
|
optionalString
|
||||||
|
;
|
||||||
|
|
||||||
extraRepoInitFlags = [
|
extraRepoInitFlags = [
|
||||||
(optionalString (repoRepoURL != "") "--repo-url=${repoRepoURL}")
|
(optionalString (repoRepoURL != "") "--repo-url=${repoRepoURL}")
|
||||||
(optionalString (repoRepoRev != "") "--repo-branch=${repoRepoRev}")
|
(optionalString (repoRepoRev != "") "--repo-branch=${repoRepoRev}")
|
||||||
|
Loading…
Reference in New Issue
Block a user