summary refs log tree commit diff
diff options
context:
space:
mode:
authorArun Isaac2022-01-04 23:42:10 +0530
committerArun Isaac2022-01-04 23:42:10 +0530
commit6ec7d6b4b17f552263bc98a876bee3eefed49da7 (patch)
treeac979741812b8ad9c258ea915f3417f15a431673
parent8e62f4667d2a4cc119469fe133fe82b4e3f56b0d (diff)
downloadkolam-6ec7d6b4b17f552263bc98a876bee3eefed49da7.tar.gz
kolam-6ec7d6b4b17f552263bc98a876bee3eefed49da7.tar.lz
kolam-6ec7d6b4b17f552263bc98a876bee3eefed49da7.zip
guix.scm: Switch to gnu-build-system.
* guix.scm: Do not import (guix build-system guile). Import (guix
build-system gnu).
(kolam)[build-system]: Switch to gnu-build-system.
[arguments]: Delete custom check phase. Add GUILE_AUTO_COMPILE=0 to
#:make-flags.
-rw-r--r--guix.scm13
1 files changed, 3 insertions, 10 deletions
diff --git a/guix.scm b/guix.scm
index 0bda224..450cb3c 100644
--- a/guix.scm
+++ b/guix.scm
@@ -18,7 +18,7 @@
 ;;; <http://www.gnu.org/licenses/>.
 
 (use-modules (gnu packages guile)
-             (guix build-system guile)
+             (guix build-system gnu)
              (guix gexp)
              (guix git-download)
              ((guix licenses) #:prefix license:)
@@ -33,16 +33,9 @@
     (source (local-file %source-dir
                         #:recursive? #t
                         #:select? (git-predicate %source-dir)))
-    (build-system guile-build-system)
+    (build-system gnu-build-system)
     (arguments
-     `(#:phases
-       (modify-phases %standard-phases
-         (add-after 'build 'check
-           (lambda* (#:key tests? #:allow-other-keys)
-             (when tests?
-               (invoke "make" "-j" (number->string
-                                    (parallel-job-count))
-                       "check")))))))
+     '(#:make-flags '("GUILE_AUTO_COMPILE=0"))) ; to prevent guild warnings
     (native-inputs
      (list guile-3.0))
     (propagated-inputs