Merge branch 'master' into core-updates
authorMarius Bakke <mbakke@fastmail.com>
Fri, 5 Oct 2018 17:15:39 +0000 (19:15 +0200)
committerMarius Bakke <mbakke@fastmail.com>
Fri, 5 Oct 2018 17:15:39 +0000 (19:15 +0200)
19 files changed:
1  2 
gnu/local.mk
gnu/packages/audio.scm
gnu/packages/cups.scm
gnu/packages/databases.scm
gnu/packages/disk.scm
gnu/packages/freedesktop.scm
gnu/packages/gnome.scm
gnu/packages/gtk.scm
gnu/packages/guile.scm
gnu/packages/libreoffice.scm
gnu/packages/linux.scm
gnu/packages/maths.scm
gnu/packages/package-management.scm
gnu/packages/python.scm
gnu/packages/tls.scm
gnu/packages/web.scm
gnu/packages/xml.scm
guix/build/haskell-build-system.scm
tests/gexp.scm

diff --cc gnu/local.mk
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
@@@ -285,10 -287,39 +285,10 @@@ without requiring the source code to b
                    (max-silent-time . 36000))))) ;10 hours (needed on ARM
                                                  ;  when heavily loaded)
  
 -(define-public guile-2.2.2
 -  ;; Keep it so that, when 'guix' runs on 2.2.2, 'guix pull' compiles objects
 -  ;; with 2.2.2, thereby avoiding the ABI incompatibility issues described in
 -  ;; <https://bugs.gnu.org/29570>.
 -  (package
 -    (inherit guile-2.2)
 -    (version "2.2.2")
 -    (source (origin
 -              (inherit (package-source guile-2.2))
 -              (uri (string-append "mirror://gnu/guile/guile-" version
 -                                  ".tar.xz"))
 -              (sha256
 -               (base32
 -                "1azm25zcmxif0skxfrp11d2wc89nrzpjaann9yxdw6pvjxhs948w"))))))
 -
 -(define-public guile-2.2.4
 -  ;; This version contains important bug fixes, in particular wrt. to crashes
 -  ;; of multi-threaded code as used by 'guix pull' and grafting.
 -  (package
 -    (inherit guile-2.2)
 -    (version "2.2.4")
 -    (source (origin
 -              (inherit (package-source guile-2.2))
 -              (uri (string-append "mirror://gnu/guile/guile-" version
 -                                  ".tar.xz"))
 -              (sha256
 -               (base32
 -                "07p3g0v2ba2vlfbfidqzlgbhnzdx46wh2rgc5gszq1mjyx5bks6r"))))))
 -
  (define-public guile-next
    ;; This is the upcoming Guile 3.0, with JIT support.
-   (let ((commit "a74b4a45fab1a78e34954bce5f031e8a9765f827")
-         (revision "0"))
+   (let ((commit "6f3357b0df64c4be17e72079864c09a542f1c779")
+         (revision "1"))
      (package
        (inherit guile-2.2)
        (name "guile-next")
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
@@@ -262,12 -262,23 +263,23 @@@ given Haskell package.
  
  (define* (haddock #:key outputs haddock? haddock-flags #:allow-other-keys)
    "Run the test suite of a given Haskell package."
 -  (if haddock?
 -      (run-setuphs "haddock" haddock-flags)
 -      #t))
 +  (when haddock?
 +    (run-setuphs "haddock" haddock-flags))
 +  #t)
  
+ (define* (patch-cabal-file #:key cabal-revision #:allow-other-keys)
+   (when cabal-revision
+     ;; Cabal requires there to be a single file with the suffix ".cabal".
+     (match (scandir "." (cut string-suffix? ".cabal" <>))
+       ((original)
+        (format #t "replacing ~s with ~s~%" original cabal-revision)
+        (copy-file cabal-revision original))
+       (_ (error "Could not find a Cabal file to patch."))))
+   #t)
  (define %standard-phases
    (modify-phases gnu:%standard-phases
+     (add-after 'unpack 'patch-cabal-file patch-cabal-file)
      (delete 'bootstrap)
      (add-before 'configure 'setup-compiler setup-compiler)
      (add-before 'install 'haddock haddock)
diff --cc tests/gexp.scm
Simple merge