From a8208480c141baa7bde1a1b9a9569e59a01bab0d Mon Sep 17 00:00:00 2001 From: Rodrigo Arias Mallo Date: Thu, 5 Nov 2020 20:01:26 +0100 Subject: [PATCH] Add a nix shell for playing with plots --- garlic/fig/dev/shell.nix | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 garlic/fig/dev/shell.nix diff --git a/garlic/fig/dev/shell.nix b/garlic/fig/dev/shell.nix new file mode 100644 index 0000000..29bb35c --- /dev/null +++ b/garlic/fig/dev/shell.nix @@ -0,0 +1,14 @@ +{ pkgs ? import ../../../default.nix }: + +with pkgs; + +let + rWrapper = pkgs.rWrapper.override { + packages = with pkgs.rPackages; [ tidyverse rjson jsonlite ]; + }; +in +stdenv.mkDerivation { + name = "R"; + + buildInputs = [ rWrapper ]; +}