about summary refs log tree commit diff
path: root/pkgs/development/tools/xcbuild
Commit message (Collapse)AuthorAge
* xcbuild: add compatibility support for exporting sdk infoDave Nicponski2020-04-28
| | | | | | | | | | | "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.
* treewide: Per RFC45, remove all unquoted URLsMichael Reilly2020-04-10
|
* treewide: `*Phase(s)?` variables are optionalJohn Ericson2019-11-01
| | | | | If these aren't defined, the stdenv defaults are used in the `*Phase` case, or no extra phases are done, in the `*Phases` case.
* treewide: remove redundant recvolth2019-08-28
|
* treewide: name -> pname (easy cases) (#66585)volth2019-08-15
| | | | | | | | | treewide replacement of stdenv.mkDerivation rec { name = "*-${version}"; version = "*"; to pname
* Merge remote-tracking branch 'marsam/fix-xcbuild-build'Matthew Bauer2019-08-07
|\
| * xcbuild: fix build on darwinMario Rodas2019-08-05
| |
* | xcbuild: fix darwin buildJason Felice2019-08-07
|/ | | | | | | 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.
* treewide: remove unused variables (#63177)volth2019-06-16
| | | | | | * treewide: remove unused variables * making ofborg happy
* Merge pull request #56834 from matthewbauer/v8-updateMatthew Bauer2019-06-03
|\ | | | | v8: 5.4.232 -> 7.4.255
| * v8: 5.4.232 -> 7.4.255Matthew Bauer2019-04-11
| |
* | xcbuild: use llvm6-based xcbuildMatthew Bauer2019-04-26
| |
* | Revert "Revert "darwin 10.12 commits""Matthew Bauer2019-04-20
|/ | | | This reverts commit 8505e710e707b2e425379dc356721194f742d8d0.
* treewide: use runtimeShell instead of stdenv.shell whenever possibleJörg Thalheim2019-02-26
| | | | | | | | | 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.
* xcbuild: provide migcom in toolchainDmitry Kalinkin2019-01-12
| | | | This is needed to facilitate build of qt5.qtwebengine on darwin
* Revert "darwin 10.12 commits"Matthew Bauer2019-01-03
| | | | | | | | | | Reverts commits bumping to macOS stuff to 10.12: commit ec1f78d1cb6ac86743ffb797bf88d4633b91e733. commit d0dc91d24f643ca2cb6901f80a641099db975966. commit a1d297374df55c30b8b74834a85924e9dc739dda. commit 425112151db3b05fec01e86cb10c90b4037e9367. commit e6f7f2928f668262577125290dc90ad8df12e724.
* darwin: 10.11 → 10.12Matthew Bauer2018-12-17
| | | | | | | | | | | | | | | | | | | 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.
* xcbuild: set -Wno-errorMatthew Bauer2018-11-29
| | | | | gcc doesn’t know all of the specific flags here. It is easier to just set -Wno-error.
* xcbuild: add licenseMarkus Kowalewski2018-11-08
|
* treewide: Remove usage of remaining redundant platform compatability stuffJohn Ericson2018-08-30
| | | | | Want to get this out of here for 18.09, so it can be deprecated thereafter.
* xcbuild: only override version with 1 argMatthew Bauer2018-08-20
| | | | | | | | | | | | | | | | | | | | | 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.
* xcbuild: cleanupMatthew Bauer2018-08-11
| | | | fix shell shebang
* xcbuild: cleanupMatthew Bauer2018-08-11
|
* firefox: build on darwinMatthew Bauer2018-08-11
| | | | Fixes #30285
* Merge branch 'master' into unused5Jörg Thalheim2018-07-21
|\
| * [bot] treewide: remove unused 'inherit' in let blocksvolth2018-07-20
| |
* | pkgs/*: remove unreferenced function argumentsvolth2018-07-21
|/
* xcbuild: move setup hook to xcbuildHookMatthew Bauer2018-07-09
| | | | | | | 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.
* xcbuild: refactorMatthew Bauer2018-07-09
| | | | | | | | | | | | | | 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.
* xcbuild: add missing binsMatthew Bauer2018-06-28
| | | | | | 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.
* generators: refactor toPlistMatthew Bauer2018-06-28
| | | | | | | | Address PR comments Refactors - Rename toPLIST -> toPlist
* generators: refactor toPLISTMatthew Bauer2018-06-28
|
* xcbuild: rework to use lib.PLISTMatthew Bauer2018-06-27
| | | | | | | | This is a good way to test that plist works. Sorry for the large diff. There are a bunch of cleanups in here that needed to be done. Should make it possible to use in cross compilation.
* xcbuild: fix wrapperMatthew Bauer2018-04-12
| | | | need $wrapper/usr/bin to exist for some SDK stuff
* xcbuild: set SYMROOT and OBJROOTMatthew Bauer2018-04-09
|
* xcbuild: add framework productMatthew Bauer2018-04-09
|
* xcbuild: include version in wrapperDaiderd Jordan2018-01-20
|
* xcbuild: include version in sdkDaiderd Jordan2018-01-20
| | | | | | | | | Without this xcbuild can detect an incorrect version for store paths that have a sequence of digits in their hash. ld: malformed 32-bit x.y.z version number: 85294 /nix/store/yz966rdvw1blblvzs15pxpcd85294isw-MacOSX.platform/Developer/SDKs/MacOSX.sdk
* darwin: fix assorted xcbuild buildsDan Peebles2017-10-12
| | | | | | This includes adding a new xcbuild-based libutil build to test the waters a bit there. We'll need to get xcbuild into the stdenv bootstrap before we can make the main build, but it's nice to see that it can work.
* xcbuild: 0.1.1 -> 0.1.2-preDan Peebles2017-10-11
| | | Also, add some static library stuff to the platform spec
* xcbuild: add SDKROOT by default to the wrappersDan Peebles2017-10-10
| | | | | This fixes #30269 and lets us do things like `xcrun -find cc`, for example.
* xcbuild: fix sdk dir name issueMatthew Bauer2017-09-01
| | | | | | | | | | | | | | | | Previously, this error was coming up in xcbuild: ld: malformed 32-bit x.y.z version number: 1068638 It’s an interesting error because it only happens with certain hashes for the nixpkgs sdk. For instance, on latest nixpkgs unstable channel, the hash for the xcbuild sdk is: /nix/store/w6mwbdaz9calyii0fyxspl51f1068638-nix.nixpkgs.sdk that is an issue we pass -isysroot ${sdk} to clang where it will interpret that hanging "1068638". It would probably go away as soon as the hash changes but this hacky fix will solve the problem.
* meson/ninja: add setup hooks (#28444)Lukas Werling2017-08-27
| | | | | | | | | | | | | | | | | | | * Add setupHook for meson/ninja build * libhttpseverywhere: Use meson/ninja setupHooks * jamomacore: Remove superfluous ninja buildInput * Remove obsolete ninja buildPhases These are all handled by ninja's setup hook. * lean2, xcbuild: fix build with ninja setup hook Ninja is a runtime dependency here. However, cmake can generate Ninja build files as well to satisfy the setup hook. * qtwebengine: fix build with ninja setup hook
* Revert "xcbuild: try to fix sdk not found"Matthew Bauer2017-04-12
| | | | This reverts commit 87e6b2c50fb4520d9ef910418f3c686d830dc3df.
* ibtool: rename xib2nibMatthew Bauer2017-04-12
|
* xcbuild: remove unnecessary flagsMatthew Bauer2017-04-12
|
* xcbuild: try to fix sdk not foundMatthew Bauer2017-04-09
| | | | | This is an attempt to get rid of the issues with sdk not found in xcbuild when building pinentry_mac.
* ibtool: add to toolchainMatthew Bauer2017-04-09
| | | | | - init package - add into xcbuild/toolchain.nix
* xcbuild: add app bundle specsMatthew Bauer2017-04-09
|
* Fix typoDaniel Peebles2017-03-22
| | | I should learn to type properly 🙃