about summary refs log tree commit diff
path: root/pkgs/development/tools/xcbuild
AgeCommit message (Collapse)AuthorFilesLines
2024-02-11xcbuild: fix `gcc-13` build failureSergei Trofimovich1-0/+6
Without the change build fais on `master as https://hydra.nixos.org/build/249027078: /build/source/Libraries/libutil/Headers/libutil/Permissions.h:23:18: error: 'uint8_t' does not name a type 23 | using Base = uint8_t; | ^~~~~~~
2023-04-16xcbuild: add ProductBuildVersionWeijia Wang2-8/+11
2023-02-22treewide: move NIX_CFLAGS_COMPILE to the env attrsetArtturin1-1/+1
with structuredAttrs lists will be bash arrays which cannot be exported which will be a issue with some patches and some wrappers like cc-wrapper this makes it clearer that NIX_CFLAGS_COMPILE must be a string as lists in env cause a eval failure
2022-11-15Merge remote-tracking branch 'origin/staging' into HEADStéphan Kochen1-5/+13
2022-10-20stdenvBootstrapTools: fix cycle on aarch64-darwinStéphan Kochen1-5/+13
2022-10-10xcbuild: exit with error if --find failsStéphan Kochen1-1/+1
2022-10-10xcbuild: add JSON variant of SDKSettingsStéphan Kochen1-1/+2
2022-08-14xcbuild: reject invalid xcrun sdk nameStéphan Kochen1-1/+18
2022-08-14xcbuild: allow using xcrun separatelyStéphan Kochen1-6/+4
Sometimes, builds only call xcrun for very basic detection. This exposes a `xcbuild.xcrun` that has a significantly simpler closure. (It's just some files and shell scripts.)
2022-08-14xcbuild: implement additional xcrun flagsStéphan Kochen1-1/+2
2021-09-21xcbuild: fix build by adding missing includeSergei Trofimovich2-0/+12
2021-05-17xcbuild: allow building arm64 binariesIvan Babrou2-16/+16
File paths are copied from XCode 12.
2021-04-12Merge pull request #111988 from thefloweringash/darwin-platform-versionsJohn Ericson1-1/+1
Darwin platform versions
2021-04-06Merge branch 'staging-next' into stagingJan Tojnar1-2/+2
2021-04-04yacc: deprecate aliasSandro Jäckel1-2/+2
and add a new line after the alphabetically sorting to please my inner monk
2021-03-29xcbuild: fix missing library for PlistBuddyMichael Roitzsch1-0/+1
PlistBuddy requires liblinenoise.dylib, which is compiled from a third party archive, but not installed
2021-03-26darwin: move deployment target and sdk version to platform configAndrew Childs1-1/+1
2021-01-23pkgs/development/tools: stdenv.lib -> libBen Siraphob1-3/+3
2021-01-11treewide: with stdenv.lib; in meta -> with lib;Profpatsch1-2/+2
Part of: https://github.com/NixOS/nixpkgs/issues/108938 meta = with stdenv.lib; is a widely used pattern. We want to slowly remove the `stdenv.lib` indirection and encourage people to use `lib` directly. Thus let’s start with the meta field. This used a rewriting script to mostly automatically replace all occurances of this pattern, and add the `lib` argument to the package header if it doesn’t exist yet. The script in its current form is available at https://cs.tvl.fyi/depot@2f807d7f141068d2d60676a89213eaa5353ca6e0/-/blob/users/Profpatsch/nixpkgs-rewriter/default.nix
2021-01-01treewide: cmake buildInputs to nativeBuildInputs, minor cleanupsBen Siraphob1-3/+2
2020-04-28xcbuild: add compatibility support for exporting sdk infoDave Nicponski1-0/+4
"Real" xcodebuild allows using `xcodebuild -version -sdk` without an sdk version argument, which will dump sdk info for all the installed sdks. Bazel"s "xcode cc toolchain setup on mac" process uses this to determine which SDK version is actually installed. This change allows using a nix-supplied pinned compiler and build system under bazel.
2020-04-10treewide: Per RFC45, remove all unquoted URLsMichael Reilly1-1/+1
2019-11-01treewide: `*Phase(s)?` variables are optionalJohn Ericson1-1/+1
If these aren't defined, the stdenv defaults are used in the `*Phase` case, or no extra phases are done, in the `*Phases` case.
2019-08-28treewide: remove redundant recvolth1-1/+1
2019-08-15treewide: name -> pname (easy cases) (#66585)volth1-1/+1
treewide replacement of stdenv.mkDerivation rec { name = "*-${version}"; version = "*"; to pname
2019-08-07Merge remote-tracking branch 'marsam/fix-xcbuild-build'Matthew Bauer1-2/+2
2019-08-07xcbuild: fix darwin buildJason Felice1-1/+6
Bumping the MacOS target version to 10.12 signalled xcbuild that libcompression is available on Darwin, but libcompression is not OSS (even though an LZFSE reference implementation is), and it is not part of a framework for us to make impure, so this patch disables it.
2019-08-05xcbuild: fix build on darwinMario Rodas1-0/+3
2019-06-16treewide: remove unused variables (#63177)volth2-3/+3
* treewide: remove unused variables * making ofborg happy
2019-06-03Merge pull request #56834 from matthewbauer/v8-updateMatthew Bauer1-2/+5
v8: 5.4.232 -> 7.4.255
2019-04-26xcbuild: use llvm6-based xcbuildMatthew Bauer1-7/+7
2019-04-20Revert "Revert "darwin 10.12 commits""Matthew Bauer1-0/+1
This reverts commit 8505e710e707b2e425379dc356721194f742d8d0.
2019-04-11v8: 5.4.232 -> 7.4.255Matthew Bauer1-2/+5
2019-02-26treewide: use runtimeShell instead of stdenv.shell whenever possibleJörg Thalheim1-2/+3
Whenever we create scripts that are installed to $out, we must use runtimeShell in order to get the shell that can be executed on the machine we create the package for. This is relevant for cross-compiling. The only use case for stdenv.shell are scripts that are executed as part of the build system. Usages in checkPhase are borderline however to decrease the likelyhood of people copying the wrong examples, I decided to use runtimeShell as well.
2019-01-12xcbuild: provide migcom in toolchainDmitry Kalinkin1-0/+1
This is needed to facilitate build of qt5.qtwebengine on darwin
2019-01-03Revert "darwin 10.12 commits"Matthew Bauer1-2/+0
Reverts commits bumping to macOS stuff to 10.12: commit ec1f78d1cb6ac86743ffb797bf88d4633b91e733. commit d0dc91d24f643ca2cb6901f80a641099db975966. commit a1d297374df55c30b8b74834a85924e9dc739dda. commit 425112151db3b05fec01e86cb10c90b4037e9367. commit e6f7f2928f668262577125290dc90ad8df12e724.
2018-12-17darwin: 10.11 → 10.12Matthew Bauer1-0/+2
Lots of stuff has gotten moved around. Many security libraries have been merged into the Security monorepo. I’ve cleared them out for now, we will need to modify Security to build them! This also moves some things around to more clearly separate bootstrapping the stdenv from everything else. We want the “normal” mode to be the non-bootstrapped version. When you ask for “Security”, you want the actual built software, not a crippled one. - Add TARGET_OS_OSX to darwin.libSystem. Looks like something introduced in 10.12. TARGET_OS_MAC is only set when building for desktop (iOS will have TARGET_OS_MAC set) - Bump darwin.dtrace - Bump darwin.libpthread - Remove SmartCardServices, libsecurity*, etc. - Install some more headers for darling.
2018-11-29xcbuild: set -Wno-errorMatthew Bauer1-1/+1
gcc doesn’t know all of the specific flags here. It is easier to just set -Wno-error.
2018-11-08xcbuild: add licenseMarkus Kowalewski1-0/+1
2018-08-30treewide: Remove usage of remaining redundant platform compatability stuffJohn Ericson1-4/+3
Want to get this out of here for 18.09, so it can be deprecated thereafter.
2018-08-20xcbuild: only override version with 1 argMatthew Bauer1-1/+1
sometimes we want the "SDK" version from xcbuild so we do something like: $ xcbuild -version -sdk MacOSX10.10 SDKSettings.plist - MacOSX10.10 (MacOSX10.10) SDKVersion: 10.10 Path: /nix/store/6k7crm1n4drf09ga0dwvbmb59x4zl2i2-SDKs/MacOSX10.10.sdk PlatformPath: /nix/store/vhfwb1znfy65s2xs27j8xribk6mp6lbw-Platforms/MacOSX.platform ProductName: Mac OS X ProductVersion: 10.10 This was previously overriden by the current xcode version so you would get: Xcode 9.4.1 Build version 17E189 This should fix the other usage of -version in nodejs 6.x.
2018-08-11xcbuild: cleanupMatthew Bauer1-3/+2
fix shell shebang
2018-08-11xcbuild: cleanupMatthew Bauer4-42/+48
2018-08-11firefox: build on darwinMatthew Bauer1-1/+1
Fixes #30285
2018-07-21Merge branch 'master' into unused5Jörg Thalheim1-2/+0
2018-07-21pkgs/*: remove unreferenced function argumentsvolth1-1/+1
2018-07-20[bot] treewide: remove unused 'inherit' in let blocksvolth1-2/+0
2018-07-09xcbuild: move setup hook to xcbuildHookMatthew Bauer1-5/+3
Not every package that needs xcbuild will want to use its build phase. I have moved the xcbuild setup hook to the new attribute xcbuildHook. This means that dontUseXcbuild is no longer needed. If you just need to call xcbuild on its own you can just refer to xcbuild.
2018-07-09xcbuild: refactorMatthew Bauer5-141/+198
This reworks some of xcbuild logic to make it more compatible with Apple’s SDK. - Add a fake version of xcrun & xcode-select - Cleanup platform generation. Clang does not like having 20 char hashes in sysroot so it is much easier to just build the parent directory for each runCommand. This is a little awkward but I have renamed everything with an added ‘s’ to make the distinction more clear. - Cleaned up wrapper.nix in some different ways - Reuse some versioning logic so that we don’t end up with two different versions of Xcode or SDK reported.
2018-06-28xcbuild: add missing binsMatthew Bauer1-0/+6
A few from cctools were missing. Ideally they would not be needed but xcode provides them & we pretty much need to as well for a lot of xcode projects.