poetry2nix/tests/git-deps-pinned/default.nix
Tobias Pflug b3870576f8 Provide withDefaults and withoutDefaults
This adds the convenience functions withDefaults and
withoutDefaults which simply wrap the provided argument in a list
either with or without the default poetry overrides.

Tests have also been adapted to make use of `withDefaults` where
appropriate.
2020-02-25 14:24:48 +01:00

12 lines
290 B
Nix

{ pkgs, lib, poetry2nix, python3 }:
poetry2nix.mkPoetryApplication {
python = python3;
pyproject = ./pyproject.toml;
poetrylock = ./poetry.lock;
src = lib.cleanSource ./.;
overrides = poetry2nix.overrides.withDefaults
(import ./poetry-git-overlay.nix { inherit pkgs; });
}