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
| { nixpkgs ? import ./nix/nixpkgs.nix {} }: | |
| let | |
| haskellDeps = ps: with ps; [ | |
| inline-r | |
| ]; | |
| ghc = nixpkgs.haskellPackages.ghcWithPackages haskellDeps; |
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 | |
| f = { mkDerivation, haskell, base, foldl, Frames, fuzzyset | |
| , inline-r, integration, lens, libintlOrEmpty | |
| , monad-loops | |
| , R, random, stdenv | |
| , template-haskell, temporary }: | |
| mkDerivation { |
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 | |
| rOverlay = rself: rsuper: { | |
| myR = rsuper.rWrapper.override { | |
| packages = with rsuper.rPackages; [ | |
| ggplot2 | |
| dplyr | |
| xts | |
| purrr | |
| ]; |
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 | |
| rOverlay = rself: rsuper: { | |
| myR = rsuper.rWrapper.override { | |
| packages = with rsuper.rPackages; [ | |
| ggplot2 | |
| dplyr | |
| xts | |
| purrr | |
| ]; |
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 | |
| rOverlay = rself: rsuper: { | |
| myR = rsuper.rWrapper.override { | |
| packages = with rsuper.rPackages; [ | |
| ggplot2 | |
| dplyr | |
| xts | |
| purrr | |
| ]; |
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 | |
| jupyterLibPath = ../../..; | |
| nixpkgsPath = jupyterLibPath + "/nix"; | |
| pkgs = import nixpkgsPath {}; | |
| monadBayesSrc = pkgs.fetchFromGitHub { | |
| owner = "adscib"; | |
| repo = "monad-bayes"; | |
| rev = "647ba7cb5a98ae028600f3d828828616891b40fb"; |
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 {}; | |
| f = { mkDerivation, base, blaze-html, boxes, ChasingBottoms | |
| , comfort-array, data-ref, deepseq, fixed-length | |
| , guarded-allocation, 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 }: |
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 |
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 |