1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-17 11:10:03 +00:00

sapling: pin to Python 3.11

This commit is contained in:
Shadaj Laddad 2024-09-06 18:21:34 -07:00 committed by Austin Seipp
parent f00310d188
commit c29ef94279

View file

@ -1,6 +1,6 @@
{ lib
, stdenv
, python3Packages
, python311Packages
, fetchFromGitHub
, fetchurl
, cargo
@ -83,7 +83,7 @@ let
substituteInPlace build-tar.py \
--replace-fail 'run(yarn + ["--cwd", src_join(), "install", "--prefer-offline"])' 'pass'
${python3Packages.python}/bin/python3 build-tar.py \
${python311Packages.python}/bin/python3 build-tar.py \
--output isl-dist.tar.xz \
--yarn 'yarn --offline --frozen-lockfile --ignore-engines --ignore-scripts --no-progress'
@ -101,7 +101,7 @@ let
};
in
# Builds the main `sl` binary and its Python extensions
python3Packages.buildPythonApplication {
python311Packages.buildPythonApplication {
pname = "sapling";
inherit src version;