mirror of
https://github.com/vale981/poetry2nix
synced 2025-03-10 04:26:39 -04:00
11 lines
272 B
Nix
11 lines
272 B
Nix
{ poetry2nix, python3, pkgs }:
|
|
let
|
|
inherit (pkgs.stdenv) isLinux;
|
|
env = poetry2nix.mkPoetryEnv {
|
|
python = python3;
|
|
pyproject = ./pyproject.toml;
|
|
poetrylock = ./poetry.lock;
|
|
preferWheels = false;
|
|
};
|
|
in
|
|
assert !env.python.pkgs.rpds-py.src.isWheel; env
|