Created
August 4, 2019 10:01
-
-
Save idontgetoutmuch/e8a947d770a46e9c73ef76bcd155d6d2 to your computer and use it in GitHub Desktop.
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"; | |
| }; | |
| }; | |
| rOverlay = rself: rsuper: { | |
| myR = rsuper.rWrapper.override { | |
| packages = with rsuper.rPackages; [ ggplot2 dplyr xts purrr ]; | |
| }; | |
| }; | |
| in import "${pkgs.ihaskell}/release.nix" { | |
| compiler = "ghc864"; | |
| nixpkgs = import pkgs.nixpkgs { overlays = [ rOverlay ]; }; | |
| packages = self: [ self.inline-r ]; | |
| systemPackages = self: [ self.myR ]; | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment