summary refs log tree commit diff
path: root/pkgs/os-specific/darwin/cctools
diff options
context:
space:
mode:
authorDan Peebles <pumpkin@me.com>2016-01-10 12:16:43 -0500
committerDan Peebles <pumpkin@me.com>2016-01-10 12:16:43 -0500
commita63fa339a546a79abe99eb3f0c358fecba7c4c70 (patch)
tree5d83aa1ceb2a54e4e6eb94f6ac7ca9179a119b8c /pkgs/os-specific/darwin/cctools
parent513994da9d7a4fe74afa7e1be4f36fb468833d40 (diff)
downloadnixpkgs-a63fa339a546a79abe99eb3f0c358fecba7c4c70.tar
nixpkgs-a63fa339a546a79abe99eb3f0c358fecba7c4c70.tar.gz
nixpkgs-a63fa339a546a79abe99eb3f0c358fecba7c4c70.tar.bz2
nixpkgs-a63fa339a546a79abe99eb3f0c358fecba7c4c70.tar.lz
nixpkgs-a63fa339a546a79abe99eb3f0c358fecba7c4c70.tar.xz
nixpkgs-a63fa339a546a79abe99eb3f0c358fecba7c4c70.tar.zst
nixpkgs-a63fa339a546a79abe99eb3f0c358fecba7c4c70.zip
cctools-port: bump to 877.5
Diffstat (limited to 'pkgs/os-specific/darwin/cctools')
-rw-r--r--pkgs/os-specific/darwin/cctools/port.nix15
1 files changed, 7 insertions, 8 deletions
diff --git a/pkgs/os-specific/darwin/cctools/port.nix b/pkgs/os-specific/darwin/cctools/port.nix
index e7165875aa4..bc6492f243f 100644
--- a/pkgs/os-specific/darwin/cctools/port.nix
+++ b/pkgs/os-specific/darwin/cctools/port.nix
@@ -1,4 +1,4 @@
-{ stdenv, fetchurl, autoconf, automake, libtool_2
+{ stdenv, fetchFromGitHub, autoconf, automake, libtool_2
 , llvm, libcxx, libcxxabi, clang, openssl, libuuid
 , libobjc ? null
 }:
@@ -6,16 +6,13 @@
 let
   baseParams = rec {
     name = "cctools-port-${version}";
-    version = "862";
+    version = "877.5";
 
-    src = let
-      # Should be fetchFromGitHub but it was whining so this will do for now
+    src = fetchFromGitHub {
       owner  = "tpoechtrager";
       repo   = "cctools-port";
-      rev    = "59d21d2c793c51d205c8b4ab14b9b28e63c72445";
-    in fetchurl {
-      url    = "https://github.com/${owner}/${repo}/archive/${rev}.tar.gz";
-      sha256 = "01f31ijpnplbiyp7ldwzy8vbkn3j3m56n5blsvsav5nlp4lp2g71";
+      rev    = "7d405492b09fa27546caaa989b8493829365deab";
+      sha256 = "0nj1q5bqdx5jm68dispybxc7wnkb6p8p2igpnap9q6qyv2r9p07w";
     };
 
     buildInputs = [ autoconf automake libtool_2 openssl libuuid ] ++
@@ -59,6 +56,8 @@ let
       sed -i -e 's|clang++|& -I${libcxx}/include/c++/v1|' cctools/autogen.sh
     '';
 
+    # TODO: this builds an ld without support for LLVM's LTO. We need to teach it, but that's rather
+    # hairy to handle during bootstrap. Perhaps it could be optional?
     preConfigure = ''
       cd cctools
       sh autogen.sh