summary refs log tree commit diff
diff options
context:
space:
mode:
authorEfraim Flashner <efraim@flashner.co.il>2023-04-10 23:17:39 +0300
committerEfraim Flashner <efraim@flashner.co.il>2023-04-10 23:23:15 +0300
commit7b63eaf9517fde23523e9791d658345ce76837bd (patch)
tree059ee907cf9679f7d968cc5bcbb260bb4993dad9
parent6dfa3e5d8553bfb811a1e93a3184a1ba8c7a4f4f (diff)
downloadguix-7b63eaf9517fde23523e9791d658345ce76837bd.tar.gz
gnu: ldc: Use default test check.
* gnu/packages/dlang.scm (ldc)[arguments]: Strip the inherited tests
configuration from ldc-bootstrap rather than setting it to #true.
-rw-r--r--gnu/packages/dlang.scm4
1 files changed, 2 insertions, 2 deletions
diff --git a/gnu/packages/dlang.scm b/gnu/packages/dlang.scm
index 15680cb079..729d6015ae 100644
--- a/gnu/packages/dlang.scm
+++ b/gnu/packages/dlang.scm
@@ -217,7 +217,8 @@ bootstrapping more recent compilers written in D.")
   (package
     (inherit ldc-bootstrap)
     (arguments
-     (substitute-keyword-arguments (package-arguments ldc-bootstrap)
+     (substitute-keyword-arguments
+       (strip-keyword-arguments '(#:tests?) (package-arguments ldc-bootstrap))
        ((#:make-flags _ #f)
         '(list "all"
                ;; Also build the test runner binaries.
@@ -226,7 +227,6 @@ bootstrapping more recent compilers written in D.")
         `(,@flags "-DBUILD_SHARED_LIBS=ON"
                   "-DLDC_LINK_MANUALLY=OFF"
                   "-DLDC_DYNAMIC_COMPILE=OFF"))
-       ((#:tests? _) #t)
        ((#:phases phases)
         `(modify-phases ,phases
            (add-after 'unpack 'fix-compiler-rt-library-discovery