forked from mirrors/nixpkgs
wafHook: Don't wrap python2
This commit is contained in:
parent
5b8d5f23f8
commit
cfc4f6347f
|
@ -287,6 +287,12 @@
|
|||
This avoids that the password gets exposed in the nix store.
|
||||
</para>
|
||||
</listitem>
|
||||
<listitem>
|
||||
<para>
|
||||
The <literal>wafHook</literal> hook does not wrap Python anymore.
|
||||
Packages depending on <literal>wafHook</literal> need to include any Python into their <literal>nativeBuildInputs</literal>.
|
||||
</para>
|
||||
</listitem>
|
||||
</itemizedlist>
|
||||
</section>
|
||||
|
||||
|
|
|
@ -1,7 +1,6 @@
|
|||
{ lib, stdenv, pkgs, python, makeSetupHook, waf }:
|
||||
{ lib, stdenv, pkgs, makeSetupHook, waf }:
|
||||
|
||||
makeSetupHook {
|
||||
deps = [ python ];
|
||||
substitutions = {
|
||||
inherit waf;
|
||||
crossFlags = lib.optionalString (stdenv.hostPlatform.system != stdenv.targetPlatform.system)
|
||||
|
|
Loading…
Reference in a new issue