From c1d98d959b38df00a1d933a5a9a381aa80096024 Mon Sep 17 00:00:00 2001 From: Frederik Rietdijk Date: Mon, 5 Dec 2016 17:29:39 +0100 Subject: [PATCH] buildPythonPackage: add configurePhase, fixes #20926 I had removed the configurePhase in https://github.com/NixOS/nixpkgs/pull/20894 because it was empty. This seemed to break packages that use cmake. --- .../interpreters/python/build-python-package-common.nix | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/pkgs/development/interpreters/python/build-python-package-common.nix b/pkgs/development/interpreters/python/build-python-package-common.nix index 80d40013f15..63936a00b39 100644 --- a/pkgs/development/interpreters/python/build-python-package-common.nix +++ b/pkgs/development/interpreters/python/build-python-package-common.nix @@ -12,6 +12,11 @@ attrs // { buildInputs = buildInputs ++ [ bootstrapped-pip ]; + configurePhase = '' + runHook preConfigure + runHook postConfigure + ''; + installPhase = attrs.installPhase or '' runHook preInstall