We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Learn more about funding links in repositories.
Report abuse
1 parent daf7868 commit 1167fdeCopy full SHA for 1167fde
doc/stdenv.xml
@@ -698,8 +698,14 @@ nothing.</para>
698
<listitem><para>A list of strings passed as additional flags to
699
<command>make</command>. These flags are also used by the default
700
install and check phase. For setting make flags specific to the
701
- build phase, use <varname>buildFlags</varname> (see
702
- below).</para></listitem>
+ build phase, use <varname>buildFlags</varname> (see below).
+
703
+<programlisting>
704
+makeFlags = [ "PREFIX=$(out)" ];
705
+</programlisting>
706
707
+ <note><para>The flags are quoted in bash, but environment variables can
708
+ be specified by using the make syntax.</para></note></para></listitem>
709
</varlistentry>
710
711
<varlistentry>
0 commit comments