summary refs log tree commit diff
path: root/pkgs/stdenv/darwin
Commit message (Collapse)AuthorAge
* darwin.make-bootstrap-tools: remove dsymutilMatthew Bauer2019-01-06
| | | | This hopefully is not needed for the bootstrap tools. Needs more testing.
* stdenv/darwin: fix portable libsystem hookMatthew Bauer2018-12-05
| | | | | Some packages don’t have /bin directories. We should only run install_name_tool if that directory exists.
* top-level/stage.nix: add static overlayMatthew Bauer2018-12-04
| | | | | | | | | Adds the static overlay that can be used to build Nixpkgs statically. Can be used like: nix build pkgsStatic.hello Not all packages build, as some rely on dynamic linking.
* stdenv: implement crossOverlaysMatthew Bauer2018-12-04
| | | | | | | | crossOverlays only apply to the packages being built, not the build packages. It is useful when you don’t care what is used to build your packages, just what is being built. The idea relies heavily on the cross compiling infrastructure. Using this implies that we need to create a cross stdenv.
* Merge pull request #47233 from oxij/tree/mass-rebuild-noop-cleanupsJohn Ericson2018-09-25
|\ | | | | treewide: mass rebuild noop cleanups
| * bintools-wrapper, cc-wrapper, stdenv: infer propagateDoc automaticallyJan Malakhovski2018-09-23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | 02c09e01712ce0b61e5c8f7159047699a434f7fc (NixOS/nixpkgs#44558) was reverted in c981787db951afb11c1328461df82d4277ebec07 but, as it turns out, it fixed an issue I didn't know about at the time: the values of `propagateDoc` options were (and now again are) inconsistent with the underlying things those wrappers wrap (see NixOS/nixpkgs#46119), which was (and now is) likely to produce more instances of NixOS/nixpkgs#43547, if not now, then eventually as stdenv changes. This patch (which is a simplified version of the original reverted patch) is the simplest solution to this whole thing: it forces wrappers to directly inspect the outputs of the things they are wrapping instead of making stdenv guess the correct values.
* | Revert "stdenv/darwin: bump bootstrap tools"Dan Peebles2018-09-20
| | | | | | | | | | | | | | | | This accidentally added some unwanted dependencies on the bootstrap tools, and I don't have time to fix before I go on vacation, so I'm backing it out until I have time to address it properly. This reverts commit dc5c68a7bb03e8807f8ab8ad30e5eb11d1f29302.
* | stdenv/darwin: bump bootstrap toolsDan Peebles2018-09-17
| | | | | | | | You can verify the provenance of these yourself by checking Hydra here: https://hydra.nixos.org/build/81511173
* | cctools: support LTO on DarwinDan Peebles2018-09-16
| | | | | | | | | | LTO is disabled during bootstrap to keep the bootstrap tools small and avoid unnecessary LLVM rebuilds, but is enabled in the final stdenv stage and should be usable by normal packages.
* | stdenv/darwin: integrate a new CoreFoundationDan Peebles2018-09-15
|/ | | | | This also updates the bootstrap tool builder to LLVM 5, but not the ones we actually use for bootstrap. I'll make that change in a subsequent commit so as to provide traceable provenance of the bootstrap tools.
* Merge branch 'master' into stagingVladimír Čunát2018-09-01
|\ | | | | | | A few trivial conflicts due to *Platforms mass replace.
| * 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.
* | Merge #44910: cmake: 3.11.2 -> 3.12.1Vladimír Čunát2018-08-30
|\ \ | |/ |/|
| * darwin stdenv stage1: use default cmakeAndrew Childs2018-08-13
| |
* | Merge pull request #43140 from LnL7/macos-10.14Daiderd Jordan2018-08-14
|\ \ | |/ |/| darwin: fix Libsystem compatibility for macOS 10.14
| * stdenv-bootstrap-tools: update unpack to use $reexportedLibrariesFileDaiderd Jordan2018-07-07
| |
* | Revert "cc-wrapper, bintools-wrapper: simply symlink man and info outputs"Eelco Dolstra2018-08-09
| | | | | | | | This reverts commit 02c09e01712ce0b61e5c8f7159047699a434f7fc.
* | cc-wrapper, bintools-wrapper: simply symlink man and info outputsJan Malakhovski2018-08-06
| | | | | | | | See discussion in #44516.
* | llvm-packages: fix manpages with python-boot and cleanupDaiderd Jordan2018-07-28
| | | | | | | | | | | | On darwin llvmPackages is built using python-boot to avoid dependencies in the stdenv, but we can't and shouldn't use that when building the manpages since it depends on python packages.
* | Merge staging-next into master (#44009)Frederik Rietdijk2018-07-24
|/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * substitute(): --subst-var was silently coercing to "" if the variable does not exist. * libffi: simplify using `checkInputs` * pythonPackges.hypothesis, pythonPackages.pytest: simpify dependency cycle fix * utillinux: 2.32 -> 2.32.1 https://lkml.org/lkml/2018/7/16/532 * busybox: 1.29.0 -> 1.29.1 * bind: 9.12.1-P2 -> 9.12.2 https://ftp.isc.org/isc/bind9/9.12.2/RELEASE-NOTES-bind-9.12.2.html * curl: 7.60.0 -> 7.61.0 * gvfs: make tests run, but disable * ilmbase: disable tests on i686. Spooky! * mdds: fix tests * git: disable checks as tests are run in installcheck * ruby: disable tests * libcommuni: disable checks as tests are run in installcheck * librdf: make tests run, but disable * neon, neon_0_29: make tests run, but disable * pciutils: 3.6.0 -> 3.6.1 Semi-automatic update generated by https://github.com/ryantm/nixpkgs-update tools. This update was made based on information from https://repology.org/metapackage/pciutils/versions. * mesa: more include fixes mostly from void-linux (thanks!) * npth: 1.5 -> 1.6 minor bump * boost167: Add lockfree next_prior patch * stdenv: cleanup darwin bootstrapping Also gets rid of the full python and some of it's dependencies in the stdenv build closure. * Revert "pciutils: use standardized equivalent for canonicalize_file_name" This reverts commit f8db20fb3ae382eba1ba2b160fe24739f43c0bd7. Patching should no longer be needed with 3.6.1. * binutils-wrapper: Try to avoid adding unnecessary -L flags (cherry picked from commit f3758258b8895508475caf83e92bfb236a27ceb9) Signed-off-by: Domen Kožar <domen@dev.si> * libffi: don't check on darwin libffi usages in stdenv broken darwin. We need to disable doCheck for that case. * "rm $out/share/icons/hicolor/icon-theme.cache" -> hicolor-icon-theme setup-hook * python.pkgs.pytest: setupHook to prevent creation of .pytest-cache folder, fixes #40273 When `py.test` was run with a folder as argument, it would not only search for tests in that folder, but also create a .pytest-cache folder. Not only is this state we don't want, but it was also causing collisions. * parity-ui: fix after merge * python.pkgs.pytest-flake8: disable test, fix build * Revert "meson: 0.46.1 -> 0.47.0" With meson 0.47.0 (or 0.47.1, or git) things are very wrong re:rpath handling resulting in at best missing libs but even corrupt binaries :(. When we run patchelf it masks the problem by removing obviously busted paths. Which is probably why this wasn't noticed immediately. Unfortunately the binary already has a long series of paths scribbled in a space intended for a much smaller string; in my testing it was something like lengths were 67 with 300+ written to it. I think we've reported the relevant issues upstream, but unfortunately it appears our patches are what introduces the overwrite/corruption (by no longer being correct in what they assume) This doesn't look so bad to fix but it's not something I can spend more time on at the moment. -- Interestingly the overwritten string data (because it is scribbled past the bounds) remains in the binary and is why we're suddenly seeing unexpected references in various builds -- notably this is is the reason we're seeing the "extra-utils" breakage that entirely crippled NixOS on master (and probably on staging before?). Fixes #43650. This reverts commit 305ac4dade5758c58e8ab1666ad0197fd305828d. (cherry picked from commit 273d68eff8f7b6cd4ebed3718e5078a0f43cb55d) Signed-off-by: Domen Kožar <domen@dev.si>
* Merge remote-tracking branch 'upstream/master' into stagingJohn Ericson2018-06-18
|\
| * darwin stdenv: Put back "man" attribute on clang and llvmJohn Ericson2018-06-18
| | | | | | | | | | We take care to make it use the final stdenv to avoid mass rebuilds and bootstrap python.
* | llvm 5: split out compiler-rt and remove libcxxabi depJohn Ericson2018-06-14
|/ | | | | | | | We already did them on non-mass-rebuild llvm 6. Also, this allows simplifying the stdenv booting. We were missing the libcxxabi dep in compile-rt in llvm 6, so fixed that too.
* darwin bootstrapping: Avoid overriding aliases for LLVMJohn Ericson2018-06-14
| | | | Respect the fix points and aliases by overriding originals.
* darwin stdenv: fix llvmPackage overridesJohn Ericson2018-06-13
| | | | | | | It may seem nice and abstract to just override the default version, but that breaks the alias relationship where the original llvmPackages_* is no longer in sync. Put another away, modifying the referee rather instead of breaking the reference "copy-on-write" is impossible.
* darwin stdenv: Properly compose overridesJohn Ericson2018-05-23
| | | | `super` usage was very suspect.
* darwin stdenv: Persist `darwin.binutils-unwrapped`John Ericson2018-05-23
| | | | | binutils-unwrapped was added in ef3db7d14c90e1876d38ebc25428b4f65962ffbc and needs a corresponding `persisted` attr in the Darwin stdenv.
* binutils: No more darwin conditionalsJohn Ericson2018-04-03
| | | | | | | | | | | | | | | | | | | | | | | | | | Since at least d7bddc27b23da8ce7bc19cfeeeb0cbebdb5a4410, we've had a situation where one should depend on: - `stdenv.cc.bintools`: for executables at build time - `libbfd` or `libiberty`: for those libraries - `targetPackages.cc.bintools`: for exectuables at *run* time - `binutils`: only for specifically GNU Binutils's executables, regardless of the host platform, at run time. and that commit cleaned up this usage to reflect that. This PR flips the switch so that: - `binutils` is indeed unconditionally GNU Binutils - `binutils-raw`, which previously served that role, is gone. so that the correct usage will be enforced going forward and everything is simple. N.B. In a few cases `binutils-unwrapped` (which before and now was unconditionally actual GNU binutils), rather than `binutils` was used to replace old `binutils-raw` as it is friendly towards some cross compilation usage by avoiding a reference to the next bootstrapping change.
* Merge pull request #35071 from oxij/stdenv/infopagesJohn Ericson2018-02-26
|\ | | | | stdenv, bash: fixing info pages and stuff
| * stdenv: darwin: give distinct names to all the stagesJan Malakhovski2018-02-26
| |
| * stdenv: linux, darwin: don't build documentation for the the intermediate stagesJan Malakhovski2018-02-26
| | | | | | | | | | | | | | | | | | For the cc of the intermediate stages, to be precise. Doing the same for bintools requires lots of refactoring. This is mainly for the future extensibility as now you can change documentation generation with impunity without rebuilding the whole of stdenv.
* | fetchurl: cleanup, better errorsJan Malakhovski2018-02-18
|/ | | | Also fix what seems like bugs in uncommon `stdenv`s.
* darwin bootstrap tools: fix after #34339 (http2 in curl)Vladimír Čunát2018-02-10
|
* Merge remote-tracking branch 'upstream/master' into stagingTuomas Tynkkynen2018-01-14
|\ | | | | | | | | | | | | | | | | | | Conflicts: pkgs/build-support/fetchbower/default.nix pkgs/build-support/fetchdarcs/default.nix pkgs/build-support/fetchgx/default.nix pkgs/development/python-modules/botocore/default.nix pkgs/os-specific/linux/firmware/firmware-linux-nonfree/default.nix pkgs/tools/admin/awscli/default.nix
| * treewide: Fetchers should use `stdenvNoCC`.John Ericson2018-01-10
| |
* | Merge pull request #33342 from LnL7/clang-outputsDaiderd Jordan2018-01-07
|\ \ | |/ |/| clang: add lib output
| * stdenv: allow lib output of clang on darwinDaiderd Jordan2018-01-02
| |
* | Merge remote-tracking branch 'upstream/master' into stagingTuomas Tynkkynen2017-12-26
|\|
| * darwin stdenv boostrap tools: use curl without kerberosVladimír Čunát2017-12-24
| | | | | | | | /cc #29785. Otherwise we would have to put the lib in, etc.
* | darwin stdenv: Make stdenv.cc, not stdenv, bring in libcxxJohn Ericson2017-12-25
|/ | | | | | | | | | | stdenvNoCC should not inject any C++ standard library, just as it doesn't inject any C standard library. stdenv still does, but only indirectly through stdenv.cc. Wrapped clangs can be simplified now that they don't need to worry about clobbering CoreFoundation when replacing the C++ standard library implementation. This generally-good cleanup should assist with debugging some C++ failures in #26805.
* bintools-wrapper: Import separately from cc-wrapperJohn Ericson2017-12-13
|
* Merge branch 'master' into stagingOrivej Desh2017-11-17
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * master: (293 commits) go_1_9: skip flaky TestServerCancelsReadTimeoutWhenIdle qsyncthingtray: fix build qt56.qtwebengine: fix build stdman: d860212 -> 2017.04.02 jackett: use mono50 hg-git: disable with python3 hg-git: 0.8.5 -> 0.8.10 xfce4-settings: enable parallel building gcc-snapshot: mark as broken heaptrack: 2017-02-14 -> 2017-10-30 nixos-container: Modify existing test to cover show-ip command nixos-container: Make show-ip work together with ipv4 + netmask linux-copperhead: 4.13.12.a -> 4.13.13.a matterbridge: 1.1.0 -> 1.4.1 nixos/nghttpx: add module for the nghttpx proxy server (#31680) mattermost: 4.3.0 -> 4.4.0 breakpad: delete simp_le: 0.2.0 -> 0.6.1 certbot: 0.11.1 -> 0.19.0 afl: 2.51b -> 2.52b ...
| * darwin.make-bootstrap-tools: fix ICU reference to improve purityDan Peebles2017-11-13
| |
* | darwin.stdenv: fix a typo in comment ;-)Vladimír Čunát2017-11-14
| |
* | Merge pull request #30484 from obsidiansystems/libbfdJohn Ericson2017-11-14
|\ \ | | | | | | bfd, opcodes: Init separate derivations for binutils libraries
| * | treewide: Remove references to removed binutils outputsJohn Ericson2017-11-13
| |/
* | darwin.stdenv: fix up to allow sandboxingDan Peebles2017-11-14
| |
* | darwin.stdenv: use new, purer, bootstrap toolsDan Peebles2017-11-13
|/ | | | This is the first step to getting a sandboxable nixpkgs
* cc-wrapper: Use stdenvNoCC to buildJohn Ericson2017-09-26
| | | | | | | | | | cc-wrapper may wrap a cc-compiler, but it doesn't need one to build itself. (c.f. expand-response-params is a separate derivation.) This helps avoid cycles on the cross stuff, in addition to removing a useless dependency edge. I could have been super careful with overrides in the stdenv to avoid the mass rebuild, but I don't think it's worth it.
* darwin stdenv: cctools override needs to go away when targetPlatform changesJohn Ericson2017-09-18
|