From 83aa6562173e06e8fafd4857a2e708feabfe56f8 Mon Sep 17 00:00:00 2001 From: Timothy Sample Date: Mon, 9 Sep 2019 21:12:41 -0400 Subject: [PATCH] gnu: ghc@8.6: Add missing 'native-search-paths'. Fixes . * 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 4d16cd656f..d86daa52c5 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)