29 lines
1.2 KiB
Nix
29 lines
1.2 KiB
Nix
nixpkgsPath: { pkgs, oldPkgs }:
|
|
let
|
|
bommels = pkgs.lib.makeScope pkgs.newScope (self: rec {
|
|
# python26 = pkgs.callPackage ./python26/default.nix {
|
|
# self = python26;
|
|
# xlibsWrapper = pkgs.xlibsWrapper;
|
|
# };
|
|
|
|
#setuptools = self.callPackage ./setuptools.nix { inherit pythonPackages; };
|
|
#wrapPython = pkgs.callPackage ./python26/wrap-python.nix { python = python26; };
|
|
#mkPythonDerivation = pkgs.callPackage ./python26/mk-python-derivation.nix { inherit setuptools wrapPython; python = python26; };
|
|
#bootstrapped-pip = pkgs.callPackage ./python26/bootstrapped-pip.nix { python = python26; };
|
|
#buildPythonPackage = pkgs.callPackage ./python26/build-python-package.nix { inherit bootstrapped-pip mkPythonDerivation; python = python26; };
|
|
|
|
#pip = pkgs.callPackage ./pip.nix { inherit python26 buildPythonPackage; };
|
|
pythonInterpreters = self.callPackage ./python-interpreters.nix { inherit nixpkgsPath;};
|
|
inherit (pythonInterpreters) python26;
|
|
python26Packages = python26.pkgs;
|
|
pythonPackages = python26Packages;
|
|
|
|
#importlib = self.callPackage ./importlib.nix {};
|
|
some-package = pkgs.callPackage ./some-package.nix { inherit pythonPackages; };
|
|
});
|
|
in
|
|
{
|
|
inherit bommels;
|
|
inherit (bommels) python26;
|
|
}
|