xcbuild: 0.1.1 -> 0.1.2-pre
Also, add some static library stuff to the platform spec
This commit is contained in:
@@ -16,13 +16,16 @@ let
|
||||
};
|
||||
in stdenv.mkDerivation rec {
|
||||
name = "xcbuild-${version}";
|
||||
version = "0.1.1";
|
||||
|
||||
# Once a version is released that includes https://github.com/facebook/xcbuild/commit/183c087a6484ceaae860c6f7300caf50aea0d710,
|
||||
# we can stop doing this -pre thing.
|
||||
version = "0.1.2-pre";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "facebook";
|
||||
repo = "xcbuild";
|
||||
rev = version;
|
||||
sha256 = "0i98c6lii8r3bgs5gj7div12pxyzjvm4qqzmmzgr7dyhj00qa8r5";
|
||||
rev = "32b9fbeb69bfa2682bd0351ec2f14548aaedd554";
|
||||
sha256 = "1xxwg2849jizxv0g1hy0b1m3i7iivp9bmc4f5pi76swsn423d41m";
|
||||
};
|
||||
|
||||
prePatch = ''
|
||||
@@ -31,9 +34,6 @@ in stdenv.mkDerivation rec {
|
||||
cp -r --no-preserve=all ${linenoise} ThirdParty/linenoise
|
||||
'';
|
||||
|
||||
# See https://github.com/facebook/xcbuild/issues/238 and remove once that's in
|
||||
patches = [ ./return-false.patch ];
|
||||
|
||||
# Avoid a glibc >= 2.25 deprecation warning that gets fatal via -Werror.
|
||||
postPatch = stdenv.lib.optionalString (!stdenv.isDarwin) ''
|
||||
sed 1i'#include <sys/sysmacros.h>' \
|
||||
|
||||
Reference in New Issue
Block a user