From b5afe25a79bfefe1da34d70779658ea7f313938b Mon Sep 17 00:00:00 2001 From: Dmitriy Pleshevskiy Date: Mon, 27 Mar 2023 10:23:22 +0300 Subject: [PATCH] nix: use legacyPackages instead --- flake.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/flake.nix b/flake.nix index 3f03c92..76990ef 100644 --- a/flake.nix +++ b/flake.nix @@ -30,7 +30,7 @@ mkOverlay = name: final: prev: final.filterAttrs (n: v: n == name) (mkAllPackages prev) - // { poetry2nix = nixpkgs.packages.${final.system}.poetry2nix; }; + // { poetry2nix = nixpkgs.legacyPackages.${final.system}.poetry2nix; }; in { overlays = (listToAttrs @@ -41,7 +41,7 @@ ) // { all = final: prev: mkAllPackages prev - // { poetry2nix = nixpkgs.packages.${final.system}.poetry2nix; }; + // { poetry2nix = nixpkgs.legacyPackages.${final.system}.poetry2nix; }; }; } // flake-utils.lib.eachDefaultSystem (system: