This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| let | |
| pkgs = { | |
| ihaskell = builtins.fetchTarball { | |
| url = "https://github.com/gibiansky/IHaskell/tarball/bb2500c448c35ca79bddaac30b799d42947e8774"; | |
| sha256 = "1n4yqxaf2xcnjfq0r1v7mzjhrizx7z5b2n6gj1kdk2yi37z672py"; | |
| }; | |
| nixpkgs = builtins.fetchTarball { | |
| url = "https://github.com/NixOS/nixpkgs-channels/tarball/49dc8087a20e0d742d38be5f13333a03d171006a"; | |
| sha256 = "1fdnqm4vyj50jb2ydcc0nldxwn6wm7qakxfhmpf72pz2y2ld55i6"; | |
| }; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| let | |
| pkgs = { | |
| ihaskell = builtins.fetchTarball { | |
| url = "https://github.com/gibiansky/IHaskell/tarball/bb2500c448c35ca79bddaac30b799d42947e8774"; | |
| sha256 = "1n4yqxaf2xcnjfq0r1v7mzjhrizx7z5b2n6gj1kdk2yi37z672py"; | |
| }; | |
| nixpkgs = builtins.fetchTarball { | |
| url = "https://github.com/NixOS/nixpkgs-channels/tarball/49dc8087a20e0d742d38be5f13333a03d171006a"; | |
| sha256 = "1fdnqm4vyj50jb2ydcc0nldxwn6wm7qakxfhmpf72pz2y2ld55i6"; | |
| }; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| let | |
| default_nixpkgs = (import <nixpkgs> {}).fetchFromGitHub { | |
| owner = "NixOS"; | |
| repo = "nixpkgs"; | |
| rev = "2797ddee7ddebbb1292ea7673c42d77bc82b8515"; | |
| sha256 = "1gym77dlfpvflv6l5iq7nq5cqzlxw29pw6gv904s1qd88hw3y5rp"; | |
| }; | |
| in | |
| { nixpkgs ? default_nixpkgs |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { stdenv, fetchurl, gfortran }: | |
| stdenv.mkDerivation rec { | |
| name = "blas-${version}"; | |
| version = "3.8.0"; | |
| src = fetchurl { | |
| url = "http://www.netlib.org/blas/${name}.tgz"; | |
| sha256 = "1s24iry5197pskml4iygasw196bdhplj0jmbsb9jhabcjqj2mpsm"; | |
| }; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { mkDerivation, base, bytestring, cassava, Chart, Chart-diagrams | |
| , clock, containers, deepseq, diagrams-cairo, diagrams-lib | |
| , diagrams-rasterific, hmatrix, hspec, inline-c, lens | |
| , optparse-applicative, plots, split, stdenv, sundials | |
| , template-haskell, vector | |
| }: | |
| mkDerivation { | |
| pname = "hmatrix-sundials"; | |
| version = "0.20.1.0"; | |
| src = ./.; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| sundials@sundials:~/outsidenix$ cabal new-test -v3 lapack | |
| File monitor 'config' unchanged. | |
| this build was affected by the following (project) config files: | |
| - /home/sundials/outsidenix/cabal.project | |
| File monitor 'improved-plan' unchanged. | |
| Installed ChasingBottoms-1.3.1.6 (ChasingBottoms-1.3.1.6-795c20e53f73d44e99622de5f070073d2aa26ca4c0c910a68726dbb76b3a4800) | |
| QuickCheck-2.13.2-92fb6a3cde3717ac8393077e1c6e3c3c6eaccfe5733319089ac91a4b791e9464 | |
| base-4.12.0.0 | |
| containers-0.6.0.1 | |
| mtl-2.2.2 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { 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"; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { mkDerivation, base, blas-ffi, blaze-html, boxes, ChasingBottoms | |
| , comfort-array, data-ref, deepseq, fixed-length | |
| , guarded-allocation, gfortran, hyper, lapack-ffi, lazyio, 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"; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { pkgs ? import <nixpkgs> {}, doBenchmark ? false }: | |
| let | |
| my-blas-ffi = pkgs.haskellPackages.callPackage ../blas-ffi/default.nix {}; | |
| my-lapack = pkgs.haskellPackages.callPackage ./default.nix {}; | |
| haskellDeps = ps: with ps; [ | |
| my-blas-ffi | |
| my-lapack |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| let my-blas-ffi = nixpkgs.haskellPackages.callPackage ../blas-ffi/default.nix {}; | |
| in | |
| { mkDerivation, base, blas-ffi, blaze-html, boxes, ChasingBottoms | |
| , comfort-array, data-ref, deepseq, fixed-length | |
| , guarded-allocation, hyper, lapack-ffi, lazyio, monoid-transformer | |
| , netlib-ffi, non-empty, QuickCheck, quickcheck-transformer, random | |
| , semigroups, stdenv, text, tfp, transformers, unique-logic-tf | |
| , utility-ht |