wafHook: Don't wrap python2
This commit is contained in:
@@ -287,6 +287,12 @@
|
|||||||
This avoids that the password gets exposed in the nix store.
|
This avoids that the password gets exposed in the nix store.
|
||||||
</para>
|
</para>
|
||||||
</listitem>
|
</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>
|
</itemizedlist>
|
||||||
</section>
|
</section>
|
||||||
|
|
||||||
|
|||||||
@@ -1,7 +1,6 @@
|
|||||||
{ lib, stdenv, pkgs, python, makeSetupHook, waf }:
|
{ lib, stdenv, pkgs, makeSetupHook, waf }:
|
||||||
|
|
||||||
makeSetupHook {
|
makeSetupHook {
|
||||||
deps = [ python ];
|
|
||||||
substitutions = {
|
substitutions = {
|
||||||
inherit waf;
|
inherit waf;
|
||||||
crossFlags = lib.optionalString (stdenv.hostPlatform.system != stdenv.targetPlatform.system)
|
crossFlags = lib.optionalString (stdenv.hostPlatform.system != stdenv.targetPlatform.system)
|
||||||
|
|||||||
Reference in New Issue
Block a user