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: mkOverlay = name:
final: prev: final: prev:
final.filterAttrs (n: v: n == name) (mkAllPackages prev) final.filterAttrs (n: v: n == name) (mkAllPackages prev)
// { poetry2nix = nixpkgs.packages.${final.system}.poetry2nix; }; // { poetry2nix = nixpkgs.legacyPackages.${final.system}.poetry2nix; };
in in
{ {
overlays = (listToAttrs overlays = (listToAttrs
@ -41,7 +41,7 @@
) // { ) // {
all = final: prev: all = final: prev:
mkAllPackages prev mkAllPackages prev
// { poetry2nix = nixpkgs.packages.${final.system}.poetry2nix; }; // { poetry2nix = nixpkgs.legacyPackages.${final.system}.poetry2nix; };
}; };
} }
// flake-utils.lib.eachDefaultSystem (system: // flake-utils.lib.eachDefaultSystem (system: