poetry2nix/tests/composable-defaults/default.nix
2023-10-26 12:28:09 +13:00

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;
});
}