Commit 803d42c9 authored by Antoine RICHARD's avatar Antoine RICHARD
Browse files

init shell.nix

parent fb64cce2
Pipeline #55 canceled with stages
{
# nixos-19.09-small
pkgs ? import (fetchTarball https://github.com/NixOS/nixpkgs-channels/archive/02351ddb3a528383f7e42bc4b0eda9f2f631c525.tar.gz) {}
}:
let
r_pkgs = with pkgs.rPackages; [
# rmarkdown related packages
knitr
rmarkdown
# Rstudio related packages
# servr
];
in
pkgs.mkShell {
buildInputs = [
# R packages
pkgs.pandoc
(pkgs.rWrapper.override {
packages = r_pkgs;
})
# Java packages
pkgs.openjdk11_headless
pkgs.maven
# Uncomment to add RStudio in your environment
#(pkgs.rstudioWrapper.override {
# packages = r_pkgs;
#})
];
}
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment