mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-11 15:34:05 +00:00
added binutils to ocaml so that static compiler can build correctly
This commit is contained in:
parent
6cac901ebb
commit
52b7f0d233
@ -6,7 +6,7 @@ let
|
||||
safeX11 = stdenv: !(stdenv.isAarch32 || stdenv.isMips || stdenv.hostPlatform.isStatic);
|
||||
in
|
||||
|
||||
{ lib, stdenv, fetchurl, ncurses, buildEnv, libunwind, fetchpatch
|
||||
{ lib, stdenv, fetchurl, ncurses, binutils, buildEnv, libunwind, fetchpatch
|
||||
, libX11, xorgproto, useX11 ? safeX11 stdenv && lib.versionOlder version "4.09"
|
||||
, aflSupport ? false
|
||||
, flambdaSupport ? false
|
||||
@ -109,6 +109,7 @@ stdenv.mkDerivation (args // {
|
||||
else ["nixpkgs_world"];
|
||||
buildInputs = optional (lib.versionOlder version "4.07") ncurses
|
||||
++ optionals useX11 [ libX11 xorgproto ];
|
||||
depsBuildBuild = [ binutils ];
|
||||
propagatedBuildInputs = optional spaceTimeSupport libunwind;
|
||||
installTargets = [ "install" ] ++ optional useNativeCompilers "installopt";
|
||||
preConfigure = optionalString (lib.versionOlder version "4.04") ''
|
||||
|
Loading…
Reference in New Issue
Block a user