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 = import ../pkgs.nix; | |
| overlay = sel: sup: { | |
| haskell = sup.haskell // { | |
| packages = sup.haskell.packages // { | |
| ghc864 = sup.haskell.packages.ghc864.override { | |
| overrides = self: super: { | |
| my-random-fu-multivariate = self.callHackage ./pkgs/random-fu-multivariate { }; | |
| my-cmaes = sel.haskell.lib.dontCheck (self.callPackage ./pkgs/cmaes { }); | |
| }; |
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 = import ../pkgs.nix; | |
| haskellOverlay = hself: hsuper: { | |
| my-random-fu-multivariate = hself.callPackage ./pkgs/random-fu-multivariate { }; | |
| }; | |
| in import "${pkgs.ihaskell}/release.nix" { | |
| compiler = "ghc864"; | |
| nixpkgs = import pkgs.nixpkgs { overlays = [ haskellOverlay ]; }; | |
| packages = self: with self; [ my-random-fu-multivariate ]; |
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
| self: super: | |
| let | |
| pythonOverlay = pself: psuper: | |
| { | |
| sundials_3_lapack = pself.callPackage ./pkgs/sundials { }; | |
| myScikits-odes = pself.callPackage ./pkgs/scikits-odes { }; | |
| }; | |
| haskellOverlay = hself: hsuper: | |
| { | |
| my-random-fu-multivariate = hself.callPackage ./pkgs/random-fu-multivariate { }; |
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
| { compiler ? "ghc864" | |
| , nixpkgs ? import <nixpkgs> {} | |
| , packages ? (_: []) | |
| , pythonPackages ? (_: []) | |
| , rtsopts ? "-M3g -N2" | |
| , systemPackages ? (_: []) | |
| }: | |
| import (./release.nix) { inherit compiler nixpkgs packages pythonPackages rtsopts systemPackages; } |
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
| self: super: | |
| let | |
| pythonOverlay = pself: psuper: | |
| { | |
| sundials_3_lapack = pself.callPackage ./pkgs/sundials { }; | |
| myScikits-odes = pself.callPackage ./pkgs/scikits-odes { }; | |
| }; | |
| haskellOverlay = hself: hsuper: | |
| { | |
| my-random-fu-multivariate = hself.callPackage ./pkgs/random-fu-multivariate { }; |
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
| # self: super: | |
| # { | |
| # mySundials = super.callPackage ./pkgs/sundials { }; | |
| # myScikits-odes = super.pythonPackages.callPackage ./pkgs/scikits-odes { sundials_3_lapack = self.mySundials; }; | |
| # } | |
| self: super: | |
| let | |
| pythonOverlay = pself: psuper: |
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
| self: super: | |
| { | |
| mySundials = super.callPackage ./pkgs/sundials { }; | |
| myScikits-odes = super.callPackage ./pkgs/scikits-odes { }; | |
| } |
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
| extra-deps: | |
| - inline-r-0.9.2 | |
| - vector-0.12.0.1 | |
| - Frames-0.6.1 | |
| - vinyl-0.11.0 | |
| - discrimination-0.3 | |
| - inline-c-0.6.1.0 | |
| - git: https://github.com/idontgetoutmuch/Kalman.git | |
| commit: 4926787e24fb122c34b2ad70fe402d6d71a547c1 | |
| - git: https://github.com/idontgetoutmuch/random-fu-multivariate.git |
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
| {-# OPTIONS_GHC -Wall #-} | |
| {-# LANGUAGE TemplateHaskell #-} | |
| {-# LANGUAGE DataKinds #-} | |
| {-# LANGUAGE FlexibleContexts #-} | |
| {-# LANGUAGE QuasiQuotes #-} | |
| module Main (main) where | |
| import qualified Language.R as R |
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> {}, compiler ? "ghc822", doBenchmark ? false }: | |
| let | |
| f = { mkDerivation, haskell, base, foldl, Frames, fuzzyset | |
| , inline-r, integration, lens, libintlOrEmpty | |
| , pandoc-types, plots | |
| , diagrams-rasterific | |
| , diagrams | |
| , diagrams-svg |