mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-20 20:53:48 +00:00
8b565e95a4
generate-R-packages.R fails without these changes. Without `cacert`, all wget/curl calls will fail with an error about no valid certificates. Without `nix`, calling `nix-hash` fails. An impure nix-shell can get away with not adding these if the system NIXPKGS version is the same as the version of NIXPKGS used with `nix-shell generate-shell.nix`
24 lines
330 B
Nix
24 lines
330 B
Nix
with import ../../.. {};
|
|
|
|
stdenv.mkDerivation {
|
|
name = "generate-r-packages-shell";
|
|
|
|
buildCommand = "exit 1";
|
|
|
|
buildInputs = [
|
|
wget
|
|
cacert
|
|
nix
|
|
];
|
|
|
|
nativeBuildInputs = [
|
|
(rWrapper.override {
|
|
packages = with rPackages; [
|
|
data_table
|
|
parallel
|
|
BiocManager
|
|
];
|
|
})
|
|
];
|
|
}
|