3
0
Fork 0
forked from mirrors/nixpkgs

wafHook: Don't wrap python2

This commit is contained in:
Janne Heß 2020-12-10 10:23:19 +01:00
parent 5b8d5f23f8
commit cfc4f6347f
No known key found for this signature in database
GPG key ID: 69165158F05265DF
2 changed files with 7 additions and 2 deletions

View file

@ -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>

View file

@ -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)