-
-
Save idontgetoutmuch/b1f96be4442f7a7721ae0521032b76ea to your computer and use it in GitHub Desktop.
| { mkDerivation, base, blas-ffi, blaze-html, boxes, ChasingBottoms | |
| , comfort-array, data-ref, deepseq, fixed-length | |
| , guarded-allocation, gfortran, hyper, lapack-ffi, lazyio, libiconv, liblapack, monoid-transformer | |
| , netlib-ffi, non-empty, QuickCheck, quickcheck-transformer, random | |
| , semigroups, stdenv, text, tfp, transformers, unique-logic-tf | |
| , utility-ht | |
| }: | |
| mkDerivation { | |
| pname = "lapack"; | |
| version = "0.3.1"; | |
| src = ./.; | |
| libraryHaskellDepends = [ | |
| base blas-ffi blaze-html boxes comfort-array deepseq fixed-length | |
| guarded-allocation hyper lapack-ffi lazyio netlib-ffi non-empty | |
| semigroups text tfp transformers utility-ht | |
| ]; | |
| librarySystemDepends = [ libiconv liblapack gfortran ]; | |
| libraryPkgconfigDepends = [ libiconv liblapack gfortran ]; | |
| testPkgconfigDepends = [ libiconv liblapack gfortran]; | |
| executablePkgconfigDepends = [ libiconv liblapack gfortran ]; | |
| testHaskellDepends = [ | |
| base ChasingBottoms comfort-array data-ref monoid-transformer | |
| netlib-ffi non-empty QuickCheck quickcheck-transformer random | |
| semigroups tfp transformers unique-logic-tf utility-ht | |
| ]; | |
| homepage = "http://hub.darcs.net/thielema/lapack/"; | |
| description = "Numerical Linear Algebra using LAPACK"; | |
| license = stdenv.lib.licenses.bsd3; | |
| } |
Thanks for this but I can't see libgfortran3 in nixpkgs.
@idontgetoutmuch as I said, install it using the package manager of MacOS or Ubuntu.
Doesn't that rather defeat the purpose of nix?
@idontgetoutmuch "Doesn't that rather defeat the purpose of nix?"
Do you think it is smart to care about getting your work done or is it smart to care about which method (Nix, OS level package manager, Stack, Cabal, etc.) you are using to achieve that goal?
(╯°□°)╯︵ ┻━┻
I agree with your sentiment and I could probably get this working using brew and cabal but that's not the point. Indeed I have got it working in nix without the tests. I probably have some form of OCD where I want to make things work.
I probably have some form of OCD where I want to make things work. That's good if you can afford the wasted time. :) I'm having fun like that also, but in my spare time.
@idontgetoutmuch I think the fix is similar for MacOS, just install
libgfortran3at the OS level or using Nix