diff --git a/pkgs/top-level/r-packages.nix b/pkgs/development/r-modules/cran-packages.nix similarity index 99% rename from pkgs/top-level/r-packages.nix rename to pkgs/development/r-modules/cran-packages.nix index 3a164762138..9dd1a1691eb 100644 --- a/pkgs/top-level/r-packages.nix +++ b/pkgs/development/r-modules/cran-packages.nix @@ -39,7 +39,7 @@ let inherit (pkgs) R fetchurl stdenv; - buildRPackage = import ../development/r-modules/generic R; + buildRPackage = import ./generic R; derive = { name, version, sha256, depends ? [] }: buildRPackage { name = "${name}-${version}"; diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index ae9e46a5183..23ba066967a 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -6437,7 +6437,7 @@ let packages = []; }; - rPackages = recurseIntoAttrs (import ./r-packages.nix { + rPackages = recurseIntoAttrs (import ../development/r-modules/cran-packages.nix { inherit pkgs; overrides = (config.rPackageOverrides or (p: {})) pkgs; });