Skip to content

Commit

Permalink
Add files via upload
Browse files Browse the repository at this point in the history
  • Loading branch information
b-rodrigues authored Apr 2, 2024
1 parent d985e61 commit 6ce1694
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions r-daily.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
let
pkgs = import (fetchTarball "https://github.com/b-rodrigues/nixpkgs/archive/2b54166ceca950629dba9bd0be09f93bc3ec6b4a.tar.gz") {};
system_packages = builtins.attrValues {
inherit (pkgs) git wget cacert glibcLocalesUtf8 nix R;
};
in
pkgs.mkShell {
LOCALE_ARCHIVE = if pkgs.system == "x86_64-linux" then "${pkgs.glibcLocalesUtf8}/lib/locale/locale-archive" else "";
LANG = "en_US.UTF-8";
LC_ALL = "en_US.UTF-8";
LC_TIME = "en_US.UTF-8";
LC_MONETARY = "en_US.UTF-8";
LC_PAPER = "en_US.UTF-8";
LC_MEASUREMENT = "en_US.UTF-8";

buildInputs = [
system_packages
pkgs.rPackages.data_table
pkgs.rPackages.BiocManager
];

}

0 comments on commit 6ce1694

Please sign in to comment.