Skip to content
This repository was archived by the owner on Apr 12, 2021. It is now read-only.
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: NixOS/nixpkgs-channels
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 9d21383320ea
Choose a base ref
...
head repository: NixOS/nixpkgs-channels
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 7ee5dc023211
Choose a head ref
  • 1 commit
  • 2 files changed
  • 1 contributor

Commits on Nov 28, 2019

  1. pythonPackages.pipBuildHook: Add wheel dependency

    And remove missing "options"
    
    (cherry picked from commit 2b2c6e0)
    adisbladis committed Nov 28, 2019
    Copy the full SHA
    7ee5dc0 View commit details
Showing with 3 additions and 3 deletions.
  1. +2 −2 pkgs/development/interpreters/python/hooks/default.nix
  2. +1 −1 pkgs/development/interpreters/python/hooks/pip-build-hook.sh
4 changes: 2 additions & 2 deletions pkgs/development/interpreters/python/hooks/default.nix
Original file line number Diff line number Diff line change
@@ -20,10 +20,10 @@ in rec {
};
} ./flit-build-hook.sh) {};

pipBuildHook = callPackage ({ pip }:
pipBuildHook = callPackage ({ pip, wheel }:
makeSetupHook {
name = "pip-build-hook.sh";
deps = [ pip ];
deps = [ pip wheel ];
substitutions = {
inherit pythonInterpreter pythonSitePackages;
};
Original file line number Diff line number Diff line change
@@ -7,7 +7,7 @@ pipBuildPhase() {

mkdir -p dist
echo "Creating a wheel..."
@pythonInterpreter@ -m pip wheel --no-index --no-deps --no-clean --no-build-isolation --wheel-dir dist "$options" .
@pythonInterpreter@ -m pip wheel --no-index --no-deps --no-clean --no-build-isolation --wheel-dir dist .
echo "Finished creating a wheel..."

runHook postBuild