summary refs log tree commit diff
path: root/pkgs/build-support/fetchrepoproject
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/build-support/fetchrepoproject')
-rw-r--r--pkgs/build-support/fetchrepoproject/default.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/build-support/fetchrepoproject/default.nix b/pkgs/build-support/fetchrepoproject/default.nix
index 289171aa1ca..e8ec0c1f4d4 100644
--- a/pkgs/build-support/fetchrepoproject/default.nix
+++ b/pkgs/build-support/fetchrepoproject/default.nix
@@ -53,7 +53,7 @@ stdenv.mkDerivation {
     repo init ${concatStringsSep " " repoInitFlags}
 
     repo sync --jobs=$NIX_BUILD_CORES --current-branch
-    ${optionalString !createMirror "rm -rf $out/.repo"}
+    ${optionalString (!createMirror) "rm -rf $out/.repo"}
   '';
 
   GIT_SSL_CAINFO = "${cacert}/etc/ssl/certs/ca-bundle.crt";