diff --git a/pkgs/build-support/fetchrepoproject/default.nix b/pkgs/build-support/fetchrepoproject/default.nix index e8ec0c1f4d46..8c55db5372d9 100644 --- a/pkgs/build-support/fetchrepoproject/default.nix +++ b/pkgs/build-support/fetchrepoproject/default.nix @@ -16,7 +16,7 @@ let "--depth=1" #TODO: fetching clone.bundle seems to fail spectacularly inside a sandbox. "--no-clone-bundle" - (optionalString (createMirror != "") "--mirror") + (optionalString createMirror "--mirror") (optionalString useArchive "--archive") (optionalString (repoRepoURL != "") "--repo-url=${repoRepoURL}") (optionalString (repoRepoRev != "") "--repo-branch=${repoRepoRev}")