tangled
alpha
login
or
join now
pyrox.dev
/
nixpkgs
lol
0
fork
atom
overview
issues
pulls
pipelines
cctools-port: bump to 877.5
Dan Peebles
10 years ago
a63fa339
513994da
+7
-8
1 changed file
expand all
collapse all
unified
split
pkgs
os-specific
darwin
cctools
port.nix
+7
-8
pkgs/os-specific/darwin/cctools/port.nix
···
1
-
{ stdenv, fetchurl, autoconf, automake, libtool_2
2
, llvm, libcxx, libcxxabi, clang, openssl, libuuid
3
, libobjc ? null
4
}:
···
6
let
7
baseParams = rec {
8
name = "cctools-port-${version}";
9
-
version = "862";
10
11
-
src = let
12
-
# Should be fetchFromGitHub but it was whining so this will do for now
13
owner = "tpoechtrager";
14
repo = "cctools-port";
15
-
rev = "59d21d2c793c51d205c8b4ab14b9b28e63c72445";
16
-
in fetchurl {
17
-
url = "https://github.com/${owner}/${repo}/archive/${rev}.tar.gz";
18
-
sha256 = "01f31ijpnplbiyp7ldwzy8vbkn3j3m56n5blsvsav5nlp4lp2g71";
19
};
20
21
buildInputs = [ autoconf automake libtool_2 openssl libuuid ] ++
···
59
sed -i -e 's|clang++|& -I${libcxx}/include/c++/v1|' cctools/autogen.sh
60
'';
61
0
0
62
preConfigure = ''
63
cd cctools
64
sh autogen.sh
···
1
+
{ stdenv, fetchFromGitHub, autoconf, automake, libtool_2
2
, llvm, libcxx, libcxxabi, clang, openssl, libuuid
3
, libobjc ? null
4
}:
···
6
let
7
baseParams = rec {
8
name = "cctools-port-${version}";
9
+
version = "877.5";
10
11
+
src = fetchFromGitHub {
0
12
owner = "tpoechtrager";
13
repo = "cctools-port";
14
+
rev = "7d405492b09fa27546caaa989b8493829365deab";
15
+
sha256 = "0nj1q5bqdx5jm68dispybxc7wnkb6p8p2igpnap9q6qyv2r9p07w";
0
0
16
};
17
18
buildInputs = [ autoconf automake libtool_2 openssl libuuid ] ++
···
56
sed -i -e 's|clang++|& -I${libcxx}/include/c++/v1|' cctools/autogen.sh
57
'';
58
59
+
# TODO: this builds an ld without support for LLVM's LTO. We need to teach it, but that's rather
60
+
# hairy to handle during bootstrap. Perhaps it could be optional?
61
preConfigure = ''
62
cd cctools
63
sh autogen.sh