Fix Egg support

This commit is contained in:
adisbladis 2020-01-12 20:00:17 +00:00
parent b520fa1fce
commit 2f59f1db2a
No known key found for this signature in database
GPG key ID: 110BFAD44C6249B7
2 changed files with 2 additions and 2 deletions

View file

@ -62,7 +62,7 @@ pythonPackages.callPackage (
sourceDist = builtins.filter isSdist fileCandidates;
eggs = builtins.filter isEgg fileCandidates;
entries = (if preferWheel then binaryDist ++ sourceDist else sourceDist ++ binaryDist);
entries = (if preferWheel then binaryDist ++ sourceDist else sourceDist ++ binaryDist) ++ eggs;
lockFileEntry = builtins.head entries;

View file

@ -27,7 +27,7 @@ builtins.removeAttrs
preferWheel = pkgs.callPackage ./prefer-wheel { inherit poetry2nix; };
# Egg support not yet in channel, uncomment when channel progressed
# eggs = pkgs.callPackage ./eggs { inherit poetry2nix; };
eggs = pkgs.callPackage ./eggs { inherit poetry2nix; };
inherit (poetry2nix) doc;