3
0
Fork 0
forked from mirrors/nixpkgs
Commit graph

334172 commits

Author SHA1 Message Date
toonn 40b7dd7cce pulseaudio: Stop passing sdk argument 2021-11-24 15:17:13 -08:00
toonn 7eaf240e72 pulseaudio: Drop Apple SDK dependency
The x86_64 and aarch64 SDK attributes are named differently and don't
have the same contents. This was the motivation to try dropping the SDK
dependency altogether, relying only on the Libc and some frameworks.
2021-11-24 15:17:13 -08:00
toonn 18ba22baba pulseaudio: Remove /usr/include impurity on Darwin 2021-11-24 15:17:13 -08:00
toonn 3ed6885aa8 wheel: Fix hash mismatch due to filesystem normalization
One file in the testdata has a name with accented unicode characters
that can be encoded differently depending on normalization. This causes
Nix to calculate a different hash for the tarball output depending on
whether or not and which unicode normal form the filesystem uses.

This is worked around by renaming the file to consist of unicode
characters that are unaffected by normalization. The file is renamed and
the test patched in the `extraPostFetch` phase of the the fetcher.
2021-11-24 15:17:13 -08:00
toonn 459dc34b2b Libc: Define target in stdio too 2021-11-24 15:17:13 -08:00
toonn 5aa4c46dcd Libc: Define target instead of including
Including `TargetConditionals.h` had knock-on effects, breaking the zlib
build because `TARGET_OS_MAC` gets defined, for instance.

Defining `TARGET_OS_EMBEDDED` to be `0` if it's not defined is simpler
and maintains the default behavior so it shouldn't break any dependents.
2021-11-24 15:17:13 -08:00
toonn 99bef31835 Libc: stdlib uses undefined TARGET_OS_EMBEDDED 2021-11-24 15:17:13 -08:00
toonn 36a953f78c cups: Apply patch unconditionally
Co-authored-by: Sandro Jäckel <sandro.jaeckel@gmail.com>
2021-11-24 15:17:13 -08:00
toonn 63686605e9 sphinx: Disable most networking tests on Darwin 2021-11-24 15:17:13 -08:00
toonn be6bf14e4a sphinx: Disable test_inspect_main_url on Darwin 2021-11-24 15:17:13 -08:00
toonn 504b89e2d3 groonga: Fix LLVM 11 build by removing version file 2021-11-24 15:17:13 -08:00
toonn 2a97abdc21 Qt5: WebEngine build with old LLVM
Qt Base is built with LLVM 5 on Darwin. LLVM 11 causes problems for
WebEngine because of the "version" includes in libc++abi. LLVM 7 would
work but since parts are built with LLVM 5 anyway it seemed like a more
straightforward option.
2021-11-24 15:17:13 -08:00
toonn 8b09fd98eb mariadb: Rename "version" files for LLVM 11
Libc++abi 11 has `#include <version>` in some places. This clashes with
projects that have files named "version" in directories that end up on
the include path. This includes files named "VERSION" on
case-insensitive file systems.
2021-11-24 15:17:13 -08:00
toonn b1b5b40c8d Qt5: WebEngine turn off warning causing errors
Co-authored-by: Jonathan Ringer <jonringer117@gmail.com>
2021-11-24 15:17:13 -08:00
toonn 2253728351 sphinx: Patch source file for normalization
One of the test files has a different encoding depending on the
filesystem's normalization. By picking a character that does not have
multiple possible encodings we make the source indifferent to
normalization. This allows the FOD hash to match across platforms with
differently normalizing filesystems.
2021-11-24 15:17:13 -08:00
toonn ea50c9776c cups: Change condition so patch won't remain forever
By changing the condition for the patch it'll hopefully break when the
version is updated for Darwin and not stick around forever.

Co-authored-by: Sandro Jäckel <sandro.jaeckel@gmail.com>
2021-11-24 15:17:13 -08:00
toonn 530b000f09 portaudio: Fix version mashup
Co-authored-by: Pavol Rusnak <pavol@rusnak.io>
2021-11-24 15:17:13 -08:00
toonn 73d3d0de7f libcxxabi: Use standalone instead of expression
Co-authored-by: Sandro Jäckel <sandro.jaeckel@gmail.com>
2021-11-24 15:17:13 -08:00
toonn b02908c213 libtiff: Reenable OpenGL support on Darwin
I found the correct inputs to get `libtiff` to compile with OpenGL
support on Darwin. Allowing us to get rid of the ugly build system
patch.
2021-11-24 15:17:13 -08:00
toonn 3791134fa0 portaudio: Disable new clang-11 warning
Clang 11 complains about implicit conversion from int to float so we
disable `-Wimplicit-const-int-float-conversion`. The conversion causes a
difference in the constant of 1, so how bad can it be? ; )
2021-11-24 15:17:13 -08:00
toonn e4d62a5ad5 mariadb: Avoid building with clang-11
libcxx-11.1.0 uses `#include <version>` in several places. There's a
`storage/mroonga/version` file in the mariadb source and this gets
picked up by libcxx when building mroonga but that file doesn't contain
valid source code.

To avoid the issue altogether we're sticking with a clang-7 stdenv to
build mariadb for now.

Based on 787f934b24 from LnL7's WIP LLVM 9
update.

Co-authored-by: Daiderd Jordan <daiderd@gmail.com>
2021-11-24 15:17:13 -08:00
toonn 5a12a87aed cups: Include TargetConditionals.h on Darwin 2021-11-24 15:17:13 -08:00
toonn d0c5ac2383 libtiff: Disable OpenGL entirely for Darwin
On the Hydra builders and with Clang 7, CMake fails to find OpenGL. With
Clang 11 it manages to find the the OpenGL and GLUT system frameworks
for me. It does not find `gl.h` however. So the tests for `tiffgt` fail
on a missing include.

Since previously OpenGL wasn't detected I've opted to disable the CMake
check for OpenGL for darwin. This means `tiffgt.c` is never built and
tested. Ideally we'd provide the proper headers so the tests can
succeed.
2021-11-24 15:17:13 -08:00
toonn 63a3ead084 stdenv: Darwin no longer needs 10.11 workaround
Co-authored-by: happysalada <raphael@megzari.com>
2021-11-24 15:17:13 -08:00
toonn 77fc5f8c14 bootstrap-tools: Introduce getLib for lib outputs
Co-authored-by: sternenseemann <sternenseemann@systemli.org>
Co-authored-by: Jörg Thalheim <joerg@thalheim.io>
2021-11-24 15:17:13 -08:00
Sandro Jäckel 7e9d442837 darwin.CF: Add pre-/postBuild hooks to buildPhase 2021-11-24 15:17:13 -08:00
toonn 3b2d3f65b7 darwin.CF: Drop clang 7 workaround 2021-11-24 15:17:13 -08:00
toonn 2bb0e256ea darwin.CF: Include missing TARGET_OS_* defines
This patch is static and may not be appropriate if the compilation
target is iOS.
2021-11-24 15:17:13 -08:00
toonn 982f7228ff cmake: Temporarily pass flags
To mimic LLVM 7 behavior we need to pass `-Wno-elaborated-enum-base` in
`CXXFLAGS`. Ideally this gets fixed upstream and won't be necessary.
2021-11-24 15:17:13 -08:00
toonn 1be8e73fb3 stdenv: libcxxabi dropped standalone in favor of useLLVM
The libcxxabi expression had a `standalone` argument in LLVM 7 which
triggered passing of the `-DLLVM_ENABLE_LIBCXX=ON` flag. In LLVM 11 this
flag and others are toggled by the `useLLVM` attribute of
`stdenv.hostPlatform` but this toggles a flag we don't need on Darwin.

Similar to the refactoring of LLVM 7 libc++abi by Ericson2314 in
3af7e98470, I have reintroduced the standalone argument for use in
bootstrapping the Darwin stdenv.
2021-11-24 15:17:13 -08:00
toonn 9687654011 all-packages: Define LLVM 11 as the default for Darwin
The Darwin stdenv takes some of the llvmPackages from the top-level pkgs
rather than explicitly from `llvmPackages_*`. This means you cannot
simply bump the LLVM version in the stdenv, you have to bump the default
version in all-packages.nix as well.
2021-11-24 15:17:13 -08:00
toonn cc767e1d05 darwin.stdenv: Update to LLVM 11 and clang 11.1.0 2021-11-24 15:17:13 -08:00
toonn 84454c3233 darwin.Libsystem: Patch TargetConditionals.h
`TargetConditionals.h` was missing several definitions, like
`TARGET_OS_TV` that are part of SDK 10.12 at least. And one that doesn't
seem to occur in any SDK afaict, `TARGET_OS_EMBEDDED_OTHER`.

I added the definitions from SDK 10.12 verbatim and defined
`TARGET_OS_EMBEDDED_OTHER` to be equal to `0`.

I think none of this works if `darwin.Libsystem` is used to build for
linux or iOS though so maybe this needs a more thorough fix?

This reverts 336d82617f because it's no
longer necessary.
2021-11-24 15:17:13 -08:00
toonn e07eef85e8 xnu: Fix python3 patch
This reverts 7da313e10a because it's no
longer necessary.
2021-11-24 15:17:13 -08:00
Daiderd Jordan 7e4880c21b stdenv: update darwin bootstrap tools for llvm11
Build from bdffd0b276.

https://hydra.nixos.org/build/124753463
(cherry picked from commit f4a08349ed43a36ad5489a4ab548fcf0c129215d)
2021-11-24 15:17:13 -08:00
Corbin Simpson 6901a575ab
pmbootstrap: 1.30.0 -> 1.39.0 (#146576) 2021-11-25 00:14:32 +01:00
Sandro fef107d5a5
Merge pull request #142839 from ivan/zsh-autosuggestions-config-async 2021-11-25 00:09:18 +01:00
Sandro 54f7fcdd07
Merge pull request #146319 from dotlambda/srpenergy-1.3.5 2021-11-24 23:51:39 +01:00
Sandro 32695c8777
Merge pull request #146318 from dotlambda/vilfo-api-client-0.4.1 2021-11-24 23:51:22 +01:00
Sandro 5673db20c4
Merge pull request #145346 from iAmMrinal0/update/google-cloud-sdk 2021-11-24 23:50:22 +01:00
Sandro Jäckel 122b0e0602
delta: 0.9.2 -> 0.10.0 2021-11-24 23:45:17 +01:00
Sandro d245291949
Merge pull request #146772 from Stunkymonkey/mono-dll-fixer-builder 2021-11-24 23:36:33 +01:00
Dmitry Kalinkin d9e78207b6
yoda: 1.9.2 -> 1.9.3 2021-11-24 17:19:05 -05:00
Fabian Affolter a9868c307d python3Packages.python-smarttub: relax aiohttp constraint 2021-11-24 23:10:34 +01:00
legendofmiracles e5f9c5215a hilbish: 0.6.1 -> 0.7.1 2021-11-24 13:51:14 -08:00
Ivan Babrou 0b91881457 curl: use lib.getDev to allow building with boringssl
As suggested here: https://github.com/NixOS/nixpkgs/pull/143477#issuecomment-974180167
2021-11-24 13:51:03 -08:00
Poscat 942f57e79b nixos/acme: add an option for reloading systemd services after renewal 2021-11-24 13:50:20 -08:00
legendofmiracles c85680db4f mpvScripts.video-cutter: init at unstable-2021-02-03 2021-11-24 13:49:33 -08:00
Jan Tojnar ab7d727c97
Merge pull request #147292 from jtojnar/sushi
sushi: fix runtime
2021-11-24 22:32:08 +01:00
Krzysztof Nazarewski 4d5ee72354
keepass-charactercopy: init at 1.0.0 2021-11-24 22:31:07 +01:00