[Nix-dev] Can't get anything to build on Mac OS X

Michael Sperber sperber at deinprogramm.de
Wed Dec 31 16:04:11 CET 2014


I'm (still) running Mavericks, and just pulled from github.  I ran
against these problems:

- A large number of packages have indirect dependencies on Kerberos,
  which by default is set to be Heimdal - which is marked broken on Mac
  OS X.  I did this, which allowed me to proceed:

{
  packageOverrides = pkgs: rec {
    kerberos = pkgs.krb5;
  };
}

- After this, it proceeds to build a gcc which doesn't work:

\[\][nix-shell:~/Downloads]$\[\] gcc -v -v -v x.c
Using built-in specs.
COLLECT_GCC=/nix/store/nxva8pj5v62582qw3sh4zg9b8i49jl54-gcc-4.8.3/bin/gcc
COLLECT_LTO_WRAPPER=/nix/store/nxva8pj5v62582qw3sh4zg9b8i49jl54-gcc-4.8.3/libexec/gcc/x86_64-apple-darwin10.2.0/4.8.3/lto-wrapper
gcc: error: unrecognized command line option ‘-stdlib=libc++’

  Or should I just give up here and move to the pure, clang-based branch?

Any help would be much appreciated!

-- 
Regards,
Mike



More information about the nix-dev mailing list