diff options
author | Justin Bedo <cu@cua0.org> | 2021-11-21 10:37:28 +1100 |
---|---|---|
committer | Justin Bedo <cu@cua0.org> | 2021-11-21 11:27:33 +1100 |
commit | 257f13b85fc27da87db07b63d48950b6e23be9ad (patch) | |
tree | 527ac85a3c3c6a2858967a6a07e1340334697c54 /pkgs/development/r-modules | |
parent | 5a7000ff2706297f68cb149b5c60cc9439655956 (diff) | |
download | nixpkgs-257f13b85fc27da87db07b63d48950b6e23be9ad.tar nixpkgs-257f13b85fc27da87db07b63d48950b6e23be9ad.tar.gz nixpkgs-257f13b85fc27da87db07b63d48950b6e23be9ad.tar.bz2 nixpkgs-257f13b85fc27da87db07b63d48950b6e23be9ad.tar.lz nixpkgs-257f13b85fc27da87db07b63d48950b6e23be9ad.tar.xz nixpkgs-257f13b85fc27da87db07b63d48950b6e23be9ad.tar.zst nixpkgs-257f13b85fc27da87db07b63d48950b6e23be9ad.zip |
rPackages: disable hydra on annotations/experiments
Diffstat (limited to 'pkgs/development/r-modules')
-rw-r--r-- | pkgs/development/r-modules/default.nix | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/pkgs/development/r-modules/default.nix b/pkgs/development/r-modules/default.nix index 7d2e17c078e..291db6973dc 100644 --- a/pkgs/development/r-modules/default.nix +++ b/pkgs/development/r-modules/default.nix @@ -15,14 +15,15 @@ let # # some packages, e.g. cncaGUI, require X running while installation, # so that we use xvfb-run if requireX is true. - mkDerive = {mkHomepage, mkUrls}: args: + mkDerive = {mkHomepage, mkUrls, hydraPlatforms ? R.meta.platforms}: args: + let hydraPlatforms' = hydraPlatforms; in lib.makeOverridable ({ name, version, sha256, depends ? [], doCheck ? true, requireX ? false, broken ? false, - hydraPlatforms ? R.meta.platforms, + hydraPlatforms ? hydraPlatforms', maintainers ? [] }: buildRPackage { name = "${name}-${version}"; @@ -56,12 +57,14 @@ let mkUrls = {name, version, biocVersion}: [ "mirror://bioc/${biocVersion}/data/annotation/src/contrib/${name}_${version}.tar.gz" ]; + hydraPlatforms = []; }; deriveBiocExp = mkDerive { mkHomepage = {name, ...}: "http://www.bioconductor.org/packages/${name}.html"; mkUrls = {name, version, biocVersion}: [ "mirror://bioc/${biocVersion}/data/experiment/src/contrib/${name}_${version}.tar.gz" ]; + hydraPlatforms = []; }; deriveCran = mkDerive { mkHomepage = {name, snapshot, ...}: "http://mran.revolutionanalytics.com/snapshot/${snapshot}/web/packages/${name}/"; |