rPackages: Implement overlay infrastructure
This commit is contained in:
@@ -110,9 +110,11 @@ in let
|
||||
# Provided overlays
|
||||
pkgsNamesTopLevel = let self = import ./pkgs/all-packages.nix self { } self; in self;
|
||||
pkgsNamesPython = let self = import ./pkgs/python-packages.nix { } self { } ; in self;
|
||||
pkgsNamesR = let self = import ./pkgs/r-modules.nix { } self { } ; in self;
|
||||
|
||||
temporaryNamesTopLevel = let self = import ./temporary/all-packages.nix self { } self; in self;
|
||||
temporaryNamesPython = let self = import ./temporary/python-packages.nix { } self { } ; in self;
|
||||
temporaryNamesR = let self = import ./temporary/r-modules.nix { } self { } ; in self;
|
||||
|
||||
in {
|
||||
# Tweak the nixos make-channel code to include the upstream channel.
|
||||
@@ -150,6 +152,7 @@ in let
|
||||
pkgs = extractDerivations pkgs pkgsNamesTopLevel // {
|
||||
python2Packages = extractDerivations pkgs.python2Packages pkgsNamesPython;
|
||||
python3Packages = extractDerivations pkgs.python3Packages pkgsNamesPython;
|
||||
rPackages = extractDerivations pkgs.rPackages pkgsNamesR;
|
||||
};
|
||||
|
||||
|
||||
@@ -158,6 +161,7 @@ in let
|
||||
temporary = extractDerivations pkgs temporaryNamesTopLevel // {
|
||||
python2Packages = extractDerivations pkgs.python2Packages temporaryNamesPython;
|
||||
python3Packages = extractDerivations pkgs.python3Packages temporaryNamesPython;
|
||||
rPackages = extractDerivations pkgs.rPackages temporaryNamesR;
|
||||
};
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user