Skip to content

Instantly share code, notes, and snippets.

@matthew-piziak matthew-piziak/shell.nix Secret
Created Nov 20, 2019

Embed
What would you like to do?
python372 = pkgs.python37.overrideAttrs (attrs: {
sourceVersion = attrs.sourceVersion // { patch = "2"; };
version = with attrs.sourceVersion; "${major}.${minor}.${patch}${suffix}";
src = pkgs.fetchurl {
url = with attrs.sourceVersion;
"https://www.python.org/ftp/python/${major}.${minor}.${patch}/Python-${version}.tar.xz";
sha256 = "0242gihnw3wfskl4fydp2xanpl8k5q7fj4dp7dbbqf46a4iwdzpa";
};
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.