All Python versions, kept up-to-date on hourly basis using Nix.
Python
231
334 commits
updated Sep 7, 2026
All Python versions, kept up-to-date on hourly basis using Nix.
This project supports the following Python versions:
Use the Cachix binary cache to avoid rebuilding Python from source.
Install Cachix and run:
$ cachix use nixpkgs-python
Add to your devenv.nix:
cachix.pull = [ "nixpkgs-python" ];
Add the cache substituter and public key to your flake.nix:
{
nixConfig = {
extra-substituters = "https://nixpkgs-python.cachix.org";
extra-trusted-public-keys = "nixpkgs-python.cachix.org-1:hxjI7pFxTyuTHn2NkvWCrAUcNZLNS3ZAvfYNuYifcEU=";
};
}
[!NOTE] Do not override the
nixpkgsinput when using this flake. The cached builds are tied to the pinned nixpkgs revision; overriding it will result in cache misses and local rebuilds.
To push your own builds to the cache (useful in CI or team setups), create a Cachix account and configure a push workflow so builds are cached as they happen.
Supported platforms:
Create devenv.nix:
{ pkgs, ... }:
{
languages.python.enable = true;
languages.python.version = "3.11";
# languages.python.version = "3.11.3";
}
Create devenv.yaml:
inputs:
nixpkgs-python:
url: github:cachix/nixpkgs-python
Then run:
$ devenv shell
{
inputs = {
nixpkgs-python.url = "github:cachix/nixpkgs-python";
};
outputs = { self, nixpkgs-python }: {
# You can now refer to packages like:
# nixpkgs-python.packages.x86_64-linux."2.7"
};
}
You can run this package ad-hoc using the following command:
$ nix shell github:cachix/nixpkgs-python#'"2.7"'
Or specify a minor version:
$ nix shell github:cachix/nixpkgs-python#'"2.7.16"'
Python
52.7%
Nix
47.3%
All Python versions, kept up-to-date on hourly basis using Nix.
Python
231
334 commits
updated Sep 7, 2026
All Python versions, kept up-to-date on hourly basis using Nix.
This project supports the following Python versions:
Use the Cachix binary cache to avoid rebuilding Python from source.
Install Cachix and run:
$ cachix use nixpkgs-python
Add to your devenv.nix:
cachix.pull = [ "nixpkgs-python" ];
Add the cache substituter and public key to your flake.nix:
{
nixConfig = {
extra-substituters = "https://nixpkgs-python.cachix.org";
extra-trusted-public-keys = "nixpkgs-python.cachix.org-1:hxjI7pFxTyuTHn2NkvWCrAUcNZLNS3ZAvfYNuYifcEU=";
};
}
[!NOTE] Do not override the
nixpkgsinput when using this flake. The cached builds are tied to the pinned nixpkgs revision; overriding it will result in cache misses and local rebuilds.
To push your own builds to the cache (useful in CI or team setups), create a Cachix account and configure a push workflow so builds are cached as they happen.
Supported platforms:
Create devenv.nix:
{ pkgs, ... }:
{
languages.python.enable = true;
languages.python.version = "3.11";
# languages.python.version = "3.11.3";
}
Create devenv.yaml:
inputs:
nixpkgs-python:
url: github:cachix/nixpkgs-python
Then run:
$ devenv shell
{
inputs = {
nixpkgs-python.url = "github:cachix/nixpkgs-python";
};
outputs = { self, nixpkgs-python }: {
# You can now refer to packages like:
# nixpkgs-python.packages.x86_64-linux."2.7"
};
}
You can run this package ad-hoc using the following command:
$ nix shell github:cachix/nixpkgs-python#'"2.7"'
Or specify a minor version:
$ nix shell github:cachix/nixpkgs-python#'"2.7.16"'
Python
52.7%
Nix
47.3%