nix: use legacyPackages instead
This commit is contained in:
parent
deac6def79
commit
b5afe25a79
1 changed files with 2 additions and 2 deletions
|
@ -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:
|
||||||
|
|
Loading…
Reference in a new issue