about summary refs log tree commit diff
path: root/pkgs/applications/version-management/git/default.nix
diff options
context:
space:
mode:
authorSandro Jäckel <sandro.jaeckel@gmail.com>2024-02-26 11:56:42 +0100
committerSandro Jäckel <sandro.jaeckel@gmail.com>2024-02-26 11:56:42 +0100
commit913a1d439ce5d066239403d9c6b27e34c221b94a (patch)
tree318b59db3dec804d62005be2218060b5aa3cb554 /pkgs/applications/version-management/git/default.nix
parent150cd0ab619dae2da2fc7f8d8478000571e1717d (diff)
git: use easier string concatenation instead of inlining things
Diffstat (limited to 'pkgs/applications/version-management/git/default.nix')
-rw-r--r--pkgs/applications/version-management/git/default.nix21
1 files changed, 9 insertions, 12 deletions
diff --git a/pkgs/applications/version-management/git/default.nix b/pkgs/applications/version-management/git/default.nix
index 62409d5c4a2b9..8f57c97230fbd 100644
--- a/pkgs/applications/version-management/git/default.nix
+++ b/pkgs/applications/version-management/git/default.nix
@@ -323,12 +323,10 @@ stdenv.mkDerivation (finalAttrs: {
 
     # Our patched gettext never fallbacks
     disable_test t0201-gettext-fallbacks
-
-    ${lib.optionalString (!sendEmailSupport) ''
-      # Disable sendmail tests
-      disable_test t9001-send-email
-    ''}
-
+  '' + lib.optionalString (!sendEmailSupport) ''
+    # Disable sendmail tests
+    disable_test t9001-send-email
+  '' + ''
     # XXX: I failed to understand why this one fails.
     # Could someone try to re-enable it on the next release ?
     # Tested to fail: 2.18.0 and 2.19.0
@@ -342,12 +340,11 @@ stdenv.mkDerivation (finalAttrs: {
     disable_test t0021-conversion
     disable_test t3910-mac-os-precompose
 
-    ${lib.optionalString (!perlSupport) ''
-      # request-pull is a Bash script that invokes Perl, so it is not available
-      # when NO_PERL=1, and the test should be skipped, but the test suite does
-      # not check for the Perl prerequisite.
-      disable_test t5150-request-pull
-    ''}
+  '' + lib.optionalString (!perlSupport) ''
+    # request-pull is a Bash script that invokes Perl, so it is not available
+    # when NO_PERL=1, and the test should be skipped, but the test suite does
+    # not check for the Perl prerequisite.
+    disable_test t5150-request-pull
   '' + lib.optionalString stdenv.isDarwin ''
     # XXX: Some tests added in 2.24.0 fail.
     # Please try to re-enable on the next release.