From 72c116cb338b91ba59af048b0363cb8f113f8535 Mon Sep 17 00:00:00 2001 From: Mathieu Boespflug Date: Sun, 25 Mar 2018 12:19:41 +0200 Subject: Unify the stack.yaml files at top-level. --- packages/sundials/nixpkgs.nix | 1 - packages/sundials/shell.nix | 20 -------------------- packages/sundials/stack.yaml | 12 ------------ 3 files changed, 33 deletions(-) delete mode 100644 packages/sundials/nixpkgs.nix delete mode 100644 packages/sundials/shell.nix delete mode 100644 packages/sundials/stack.yaml (limited to 'packages') diff --git a/packages/sundials/nixpkgs.nix b/packages/sundials/nixpkgs.nix deleted file mode 100644 index b416238..0000000 --- a/packages/sundials/nixpkgs.nix +++ /dev/null @@ -1 +0,0 @@ -import (fetchTarball "https://github.com/nixos/nixpkgs/archive/54ade273e7a677ec35e501174d86d253d9d8dede.tar.gz") diff --git a/packages/sundials/shell.nix b/packages/sundials/shell.nix deleted file mode 100644 index c034dde..0000000 --- a/packages/sundials/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) diff --git a/packages/sundials/stack.yaml b/packages/sundials/stack.yaml deleted file mode 100644 index d87e6fd..0000000 --- a/packages/sundials/stack.yaml +++ /dev/null @@ -1,12 +0,0 @@ -resolver: lts-10.9 - -packages: -- . - -extra-deps: -- diagrams-rasterific-1.4 -- plots-0.1.0.2 - -nix: - path: [nixpkgs=./nixpkgs.nix] - shell-file: shell.nix -- cgit v1.2.3