guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

01/01: gnu: ghc@8.6: Add missing 'native-search-paths'.


From: guix-commits
Subject: 01/01: gnu: ghc@8.6: Add missing 'native-search-paths'.
Date: Mon, 9 Sep 2019 21:27:38 -0400 (EDT)

samplet pushed a commit to branch master
in repository guix.

commit 83aa6562173e06e8fafd4857a2e708feabfe56f8
Author: Timothy Sample <address@hidden>
Date:   Mon Sep 9 21:12:41 2019 -0400

    gnu: ghc@8.6: Add missing 'native-search-paths'.
    
    Fixes <https://bugs.gnu.org/37064>.
    
    * gnu/packages/haskell.scm (ghc-8.6)[native-search-paths]: Set search
    paths explicitly instead of inheriting them.
---
 gnu/packages/haskell.scm | 8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/haskell.scm b/gnu/packages/haskell.scm
index 4d16cd6..d86daa5 100644
--- a/gnu/packages/haskell.scm
+++ b/gnu/packages/haskell.scm
@@ -596,7 +596,13 @@ interactive environment for the functional language 
Haskell.")
                  (("^test\\('T8108'") "# guix skipped: test('T8108'"))
                (substitute* "libraries/unix/tests/libposix/all.T"
                  (("^test\\('posix010'") "# guix skipped: test('posix010'"))
-               #t))))))))
+               #t))))))
+    (native-search-paths (list (search-path-specification
+                                (variable "GHC_PACKAGE_PATH")
+                                (files (list
+                                        (string-append "lib/ghc-" version)))
+                                (file-pattern ".*\\.conf\\.d$")
+                                (file-type 'directory))))))
 
 (define-public ghc-8 ghc-8.4)
 



reply via email to

[Prev in Thread] Current Thread [Next in Thread]