Skip to content

Instantly share code, notes, and snippets.

@PicoGeyer
Created February 27, 2023 17:35
Show Gist options
  • Save PicoGeyer/8134b695c8f337c8eb8947588373aeb7 to your computer and use it in GitHub Desktop.
Save PicoGeyer/8134b695c8f337c8eb8947588373aeb7 to your computer and use it in GitHub Desktop.
python3.6 build
{
description = "python3.6";
inputs = {
nixpkgs.url = "nixpkgs/nixos-22.11";
};
outputs = { self, nixpkgs }:
let
python36 = ((nixpkgs.legacyPackages.x86_64-linux.python3.override {
sourceVersion = {major = "3"; minor = "6" ; patch = "15"; suffix = ""; };
}).override {
sha256 = "14ax2ca7c8hs7zpz5k4ha12wy3z2f8wwm6z4j38kslfxsv6xfa3f";
}).withPackages (p: with p; [toolz]);
in
{
packages.x86_64-linux.py36 = python36;
packages.x86_64-linux.default = self.packages.x86_64-linux.py36;
};
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment