Skip to content

Commit

Permalink
Merge pull request #1260 from rohaquinlop/issue-1249
Browse files Browse the repository at this point in the history
feat(back): #1249 deprecate makepythonversion
  • Loading branch information
dsalaza4 authored Jan 11, 2024
2 parents 0cb7b7e + 77290fc commit c1b7fa0
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions src/args/make-python-environment/default.nix
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
{
__nixpkgs__,
listOptional,
makePythonVersion,
makeSearchPaths,
...
}: {
Expand All @@ -24,7 +23,14 @@
is310 = pythonVersion == "3.10";
is311 = pythonVersion == "3.11";
is312 = pythonVersion == "3.12";
python = makePythonVersion pythonVersion;
python =
{
"3.9" = __nixpkgs__.python39;
"3.10" = __nixpkgs__.python310;
"3.11" = __nixpkgs__.python311;
"3.12" = __nixpkgs__.python312;
}
.${pythonVersion};

env = poetry2nix.mkPoetryEnv {
overrides = poetry2nix.defaultPoetryOverrides.extend overrides;
Expand Down

0 comments on commit c1b7fa0

Please sign in to comment.