From 9fd7adf7dda75077b85f0337a548be9138fc1ed5 Mon Sep 17 00:00:00 2001 From: idontgetoutmuch Date: Mon, 26 Mar 2018 10:32:51 +0100 Subject: Revert "Cleanups to Sundials PR" --- shell.nix | 20 -------------------- 1 file changed, 20 deletions(-) delete mode 100644 shell.nix (limited to 'shell.nix') diff --git a/shell.nix b/shell.nix deleted file mode 100644 index c034dde..0000000 --- a/shell.nix +++ /dev/null @@ -1,20 +0,0 @@ -{ghc}: - -with import {}; - -let - gfortranlibdir = "${gfortran7.cc.lib}"; - # XXX Workaround https://ghc.haskell.org/trac/ghc/ticket/11042. - libHack = if stdenv.isDarwin then { - DYLD_LIBRARY_PATH = [gfortranlibdir]; - } else { - LD_LIBRARY_PATH = [gfortranlibdir]; - }; -in -haskell.lib.buildStackProject ({ - name = "haskell-sundials"; - buildInputs = [blas liblapack sundials zlib]; - inherit ghc; - # XXX Workaround https://ghc.haskell.org/trac/ghc/ticket/11042. - extraArgs = ["--extra-lib-dirs=${gfortranlibdir}"]; -} // libHack) -- cgit v1.2.3