Skip to content

Instantly share code, notes, and snippets.

@idontgetoutmuch
Created August 19, 2019 13:36
Show Gist options
  • Select an option

  • Save idontgetoutmuch/b1f96be4442f7a7721ae0521032b76ea to your computer and use it in GitHub Desktop.

Select an option

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;
}
@freeman42x

Copy link
Copy Markdown

@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?

(╯°□°)╯︵ ┻━┻

@idontgetoutmuch

Copy link
Copy Markdown
Author

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.

@freeman42x

Copy link
Copy Markdown

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment