mirror of
https://github.com/vale981/poetry2nix
synced 2025-03-06 17:51:40 -05:00
18 lines
436 B
Nix
18 lines
436 B
Nix
{ poetry2nix, python3 }:
|
|
let
|
|
p2nix = poetry2nix.overrideScope' (_self: super: {
|
|
|
|
defaultPoetryOverrides = super.defaultPoetryOverrides.extend (_pyself: _pysuper: {
|
|
my-custom-pkg = super.my-custom-pkg.overridePythonAttrs (_oldAttrs: { });
|
|
});
|
|
|
|
});
|
|
|
|
in
|
|
p2nix.mkPoetryApplication {
|
|
python = python3;
|
|
projectDir = ./.;
|
|
overrides = p2nix.overrides.withDefaults (_self: super: {
|
|
inherit (super) customjox;
|
|
});
|
|
}
|