Packaging/32bit Applications: Difference between revisions

imported>Mic92
multilib remark
imported>Mic92
No edit summary
Line 7: Line 7:


If a packages wants to compile both 32/64-bit executable, you need a compiler with multilib support.
If a packages wants to compile both 32/64-bit executable, you need a compiler with multilib support.
In nixpkgs provides `multiStdenv.mkDerivation` that should be used instead `stdenv.mkDerivation`.
In nixpkgs provides <code>multiStdenv.mkDerivation</code> that should be used instead <code>stdenv.mkDerivation</code>.
This is equivalent to using <code>gcc-multilib</code> in debian derivatives.
This is equivalent to using <code>gcc-multilib</code> in debian derivatives.