Skip to content

Commit

Permalink
chore: use pip build hook
Browse files Browse the repository at this point in the history
  • Loading branch information
cpcloud committed Oct 24, 2023
1 parent bad8f08 commit 87c7794
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 13 deletions.
12 changes: 0 additions & 12 deletions hooks/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -58,18 +58,6 @@ in
)
{ };

pipInstallHook = callPackage
({ makePythonHook, pip }:
makePythonHook
{
name = "pip-install-hook";
propagatedBuildInputs = [ pip ];
substitutions = {
inherit pythonInterpreter pythonSitePackages;
};
} ./pip-install-hook.sh)
{ };

poetry2nixFixupHook =
callPackage
(
Expand Down
2 changes: 1 addition & 1 deletion mk-poetry-dep.nix
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ pythonPackages.callPackage
++ lib.optionals (format == "pyproject") [
hooks.removePathDependenciesHook
hooks.removeGitDependenciesHook
pythonPackages.pypaBuildHook
hooks.pipBuildHook
];

buildInputs = lib.optional isLocked (getManyLinuxDeps fileInfo.name).pkg
Expand Down

0 comments on commit 87c7794

Please sign in to comment.