Skip to content

Commit

Permalink
Fix Egg support
Browse files Browse the repository at this point in the history
  • Loading branch information
adisbladis committed Jan 12, 2020
1 parent b520fa1 commit 2f59f1d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion mk-poetry-dep.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down
2 changes: 1 addition & 1 deletion tests/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down

0 comments on commit 2f59f1d

Please sign in to comment.