mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-25 08:23:09 +00:00
livcxx build
This commit is contained in:
parent
7da056233f
commit
2e26f7bef1
@ -26,6 +26,6 @@ in stdenv.mkDerivation rec {
|
||||
description = "A new implementation of the C++ standard library, targeting C++11";
|
||||
license = "BSD";
|
||||
maintainers = stdenv.lib.maintainers.shlevy;
|
||||
platforms = stdenv.lib.platforms.linux;
|
||||
platforms = stdenv.lib.platforms.unix;
|
||||
};
|
||||
}
|
||||
|
@ -33,6 +33,6 @@ in stdenv.mkDerivation {
|
||||
description = "A new implementation of low level support for a standard C++ library";
|
||||
license = "BSD";
|
||||
maintainers = stdenv.lib.maintainers.shlevy;
|
||||
platforms = stdenv.lib.platforms.linux;
|
||||
platforms = stdenv.lib.platforms.unix;
|
||||
};
|
||||
}
|
||||
|
@ -10,10 +10,6 @@ stdenv.mkDerivation (rec {
|
||||
|
||||
propagatedBuildInputs = [ncurses];
|
||||
|
||||
preConfigure = ''
|
||||
export CC=clang
|
||||
'';
|
||||
|
||||
patchFlags = "-p0";
|
||||
patches =
|
||||
[ ./link-against-ncurses.patch
|
||||
|
@ -1,4 +1,4 @@
|
||||
{ stdenv, pkgs, config }:
|
||||
{ stdenv, pkgs, config, haveLibCxx }:
|
||||
|
||||
import ../generic rec {
|
||||
inherit config;
|
||||
@ -27,11 +27,11 @@ import ../generic rec {
|
||||
nativePrefix = stdenv.lib.optionalString stdenv.isSunOS "/usr";
|
||||
nativeLibc = true;
|
||||
inherit stdenv;
|
||||
libcxx = pkgs.libcxx.override {
|
||||
libcxx = if haveLibCxx then pkgs.libcxx.override {
|
||||
libcxxabi = pkgs.libcxxabi.override {
|
||||
libunwind = pkgs.libunwindNative;
|
||||
};
|
||||
};
|
||||
} else null;
|
||||
binutils = import ../../build-support/native-darwin-cctools-wrapper {inherit stdenv;};
|
||||
clang = pkgs.clang_34;
|
||||
coreutils = pkgs.coreutils;
|
||||
|
@ -37,6 +37,14 @@ rec {
|
||||
inherit config;
|
||||
stdenv = stdenvNative;
|
||||
pkgs = stdenvNativePkgs;
|
||||
haveLibCxx = true;
|
||||
};
|
||||
|
||||
stdenvDarwinNaked = import ./darwin {
|
||||
inherit config;
|
||||
stdenv = stdenvNative;
|
||||
pkgs = stdenvNativePkgs;
|
||||
haveLibCxx = false;
|
||||
};
|
||||
|
||||
|
||||
|
@ -1800,7 +1800,11 @@ let
|
||||
|
||||
openssh_with_kerberos = pkgs.appendToName "with-kerberos" (openssh.override { withKerberos = true; });
|
||||
|
||||
opensp = callPackage ../tools/text/sgml/opensp { };
|
||||
opensp = callPackage ../tools/text/sgml/opensp {
|
||||
stdenv = if stdenv.isDarwin
|
||||
then allStdenvs.stdenvDarwinNaked
|
||||
else stdenv;
|
||||
};
|
||||
|
||||
spCompat = callPackage ../tools/text/sgml/opensp/compat.nix { };
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user