nix: use legacyPackages instead

This commit is contained in:
Dmitriy Pleshevskiy 2023-03-27 10:23:22 +03:00
parent deac6def79
commit b5afe25a79
Signed by: pleshevskiy
GPG key ID: 79C4487B44403985

View file

@ -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: