fix(template): import poetry2nix instead of using legacyPackages

This commit is contained in:
Phillip Cloud 2023-10-26 06:11:52 -04:00
parent 3b6124e9b7
commit 87a775aca2
No known key found for this signature in database
GPG key ID: D908212070FD785E

View file

@ -14,8 +14,8 @@
flake-utils.lib.eachDefaultSystem (system:
let
# see https://github.com/nix-community/poetry2nix/tree/master#api for more functions and examples.
inherit (poetry2nix.legacyPackages.${system}) mkPoetryApplication;
pkgs = nixpkgs.legacyPackages.${system};
inherit (import poetry2nix { inherit pkgs; }) mkPoetryApplication;
in
{
packages = {