Commit Graph

278931 Commits

Author SHA1 Message Date
Andrew Childs 6c4ce7960e bintools-wrapper, cc-wrapper: parameterize darwin min version variable
These variables are the ones that the standard toolchain uses, so we
should use those and not always use MACOSX_DEPLOYMENT_TARGET.

See 236a426c12/cctools/ld64/src/ld/PlatformSupport.cpp (L54-L55)
2021-04-11 09:47:10 +09:00
Andrew Childs 2a9b3b4943 cc-wrapper, bintools-wrapper: support MACOSX_DEPLOYMENT_TARGET with roles
In a typical build environment the toolchain will use the value of the
MACOSX_DEPLOYMENT_TARGET environment variable to determine the version
of macOS to support. When cross compiling there are two distinct
toolchains, but they will look at this single environment variable. To
avoid contamination, we always set the equivalent command line flag
which effectively disables the toolchain's internal handling.

Prior to this change, the MACOSX_DEPLOYMENT_TARGET variable was
ignored, and the toolchains always used the Nix platform
definition (`darwinMinVersion`) unless overridden with command line
arguments.

This change restores support for MACOSX_DEPLOYMENT_TARGET, and adds
nix-specific MACOSX_DEPLOYMENT_TARGET_FOR_BUILD and
MACOSX_DEPLOYMENT_TARGET_FOR_TARGET for cross compilation.
2021-04-11 09:47:10 +09:00
Andrew Childs 8b59d52ca3 cc-wrapper: use legacy -mmacosx-version-min for gcc
See https://github.com/NixOS/nixpkgs/pull/105026#discussion_r587169144
2021-04-11 09:47:10 +09:00
Andrew Childs 362cb82b75 cc-wrapper: specify default -mmacos-version-min
This avoids contamination via MACSOX_DEPLOYMENT_TARGET when cross
compiling.
2021-04-11 09:47:10 +09:00
Andrew Childs 2316ada93f luarocks: use targetPlatform.darwinMinVersion as default 2021-04-11 09:47:10 +09:00
Andrew Childs 6605fadc68 bintools-wrapper: default platform versions for darwin
Instead of always supplying flags, apply the flags as defaults. Use
clang's native flags instead of lifting the linker flags from binutils
with `-Wl,`.

If a project is using clang to drive linking, make clang do the right
thing with MACOSX_DEPLOYMENT_TARGET. This can be overridden by command
line arguments. This will cause modern clang to pass
`-platform_version 10.12 0.0.0`, since it doesn't know about the SDK
settings. Older versions of clang will pass down `-macos_version_min`
flags with no sdk version.

At the linker layer, apply a default value for anything left
ambiguous. If nothing is specified, pass a full
`-platform_version`. If only `-macos_version_min` is specified, then
lock down the sdk_version explicitly with `-sdk_version`. If a min
version and sdk version is passed, do nothing.
2021-04-11 09:47:09 +09:00
Andrew Childs 44f09ccabf darwin: move deployment target and sdk version to platform config 2021-03-26 15:10:22 +09:00
Aaron Andersen 15151dabaf
Merge pull request #117322 from r-ryantm/auto-update/govc
govc: 0.24.0 -> 0.24.1
2021-03-25 19:53:42 -04:00
Sandro bbda540017
Merge pull request #117584 from LeSuisse/hdf5-1.12.0 2021-03-25 20:06:10 +01:00
R. RyanTM f3d5ff597d libassuan: 2.5.4 -> 2.5.5 2021-03-25 18:10:54 +01:00
Michael Weiss 8cd7e290e4
mesa: 20.3.5 -> 21.0.1 (#109319) 2021-03-25 15:34:08 +01:00
Michael Weiss f6e726a3db
mesa: 20.3.4 -> 20.3.5 (#117513) 2021-03-25 14:54:04 +01:00
Thomas Gerbet 6696362562 hdf5: 1.10.7 -> 1.12.0
Fixes CVE-2020-10809, CVE-2020-10810, CVE-2020-10811 and CVE-2020-10812.
Changes: https://github.com/HDFGroup/hdf5/blob/hdf5-1_12_0/release_docs/RELEASE.txt
2021-03-25 13:03:33 +01:00
Jörg Thalheim 84cf39d9cc
Merge pull request #116757 from Pamplemousse/master
libbfd: Patch CVE-2020-35448
2021-03-25 08:43:06 +00:00
Daniël de Kok 9b11429890
Merge pull request #117553 from r-ryantm/auto-update/blis
blis: 0.8.0 -> 0.8.1
2021-03-25 08:00:28 +01:00
github-actions[bot] 26d9481285
Merge staging-next into staging 2021-03-25 06:06:01 +00:00
github-actions[bot] 8cebf1dc19
Merge master into staging-next 2021-03-25 06:05:58 +00:00
R. RyanTM d4f001a267 blis: 0.8.0 -> 0.8.1 2021-03-25 02:54:40 +00:00
Sandro 77cf1c3445
Merge pull request #117526 from veprbl/pr/zziplib_darwin_fix
zziplib: fix missing links on darwin
2021-03-25 03:08:37 +01:00
Sandro a981d29b9d
Merge pull request #117550 from marsam/update-rubocop
rubocop: 1.11.0 -> 1.12.0
2021-03-25 03:01:43 +01:00
Sandro 10836fa0fb
Merge pull request #117505 from kfollesdal/update/bumpver
bumpver: 2020.1108 -> 2021.1110
2021-03-25 01:57:45 +01:00
Martin Weinelt 8b7f88b138
Merge pull request #117546 from r-ryantm/auto-update/Ajour
ajour: 0.7.2 -> 1.0.0
2021-03-25 01:48:34 +01:00
R. RyanTM 1d671fd0dc ajour: 0.7.2 -> 1.0.0 2021-03-25 00:38:59 +00:00
Léo Gaspard 219ee8d091
release notes: typo fixes (#117539) 2021-03-25 01:28:41 +01:00
github-actions[bot] f4abaecf17
Merge staging-next into staging 2021-03-25 00:17:25 +00:00
github-actions[bot] eb499aa20e
Merge master into staging-next 2021-03-25 00:17:22 +00:00
Martin Weinelt d9a1de3d60
Merge pull request #117534 from fabaff/solaredge 2021-03-25 01:09:03 +01:00
Sandro c397ae1855
Merge pull request #117524 from rmcgibbo/pyxnat
python38Packages.pyxnat: unbreak
2021-03-25 00:42:38 +01:00
Sandro 186b9dcc5a
Merge pull request #117502 from rmcgibbo/piep
python3Packages.piep: disable
2021-03-25 00:38:33 +01:00
Sandro 7e43874ad9
Merge pull request #117517 from dotlambda/prs-0.2.5
prs: 0.2.4 -> 0.2.5
2021-03-25 00:33:29 +01:00
Robin Gloster 2d1d8561a7
Merge pull request #115682 from r-ryantm/auto-update/wordpress
wordpress: 5.5.3 -> 5.6.2
2021-03-24 17:09:27 -06:00
Robert T. McGibbon 5a30b6382b python38Packages.pyxnat: unbreak 2021-03-24 19:02:20 -04:00
Fabian Affolter 70cb86a618 home-assistant: enable solaredge tests 2021-03-24 23:49:55 +01:00
Fabian Affolter fc6900503c home-assistant: update component-packages 2021-03-24 23:49:01 +01:00
Fabian Affolter 7a09d09030 python3Packages.solaredge: init at 0.0.4 2021-03-24 23:47:24 +01:00
Thomas Tuegel 366ad2f4d8
Merge pull request #109972 from r-ryantm/auto-update/kdiagram
libsForQt5.kdiagram: 2.7.0 -> 2.8.0
2021-03-24 17:29:34 -05:00
Thomas Tuegel 185e54dd4a
Merge pull request #109980 from r-ryantm/auto-update/kdsoap
libsForQt5.kdsoap: 1.9.1 -> 1.10.0
2021-03-24 17:29:04 -05:00
kvtb 5e647319ae less.nix: fix escape
$$ does not escape $
\$ does
2021-03-24 23:28:04 +01:00
Diego Rodriguez 6e2ec95de8
terraform_0_14: 0.14.8 -> 0.14.9 (#117522) 2021-03-24 22:09:05 +00:00
R. RyanTM cee5325124
terraform-docs: 0.11.2 -> 0.12.0 (#117525) 2021-03-24 22:06:09 +00:00
Dmitry Kalinkin ecc9070c1a
zziplib: fix missing links on darwin 2021-03-24 17:56:00 -04:00
John Ericson f10f4f7ec3
Merge pull request #117433 from obsidiansystems/organize-llvm
llvmPackages: Organize files
2021-03-24 17:41:06 -04:00
Timo Kaufmann 82e1bfa53d
Merge pull request #117123 from collares/cypari-update
cypari2, cysignals: updates
2021-03-24 21:38:04 +00:00
Bernardo Meurer fa9cd72c09
Merge pull request #117360 from midchildan/feat/fuse/darwin
fuse: use macfuse-stubs instead on Darwin
2021-03-24 21:18:40 +00:00
Thomas Tuegel 0ffaecb6f0
Merge pull request #116647 from oxalica/fix/sddm-zsh-profile
sddm: source /etc/profile on wayland with zsh default shell
2021-03-24 16:17:46 -05:00
Thomas Tuegel 8882ec2b66
Merge pull request #117280 from r-ryantm/auto-update/cmake
cmake: 3.19.6 -> 3.19.7
2021-03-24 16:16:32 -05:00
Thomas Tuegel bd2cf10c0c
Merge pull request #107476 from CertainLach/kwin-wayland-wrapper
kwin: allow using wrapper for qpa
2021-03-24 16:15:17 -05:00
zowoq 6aa079e2dd youtube-dl: 2021.03.14 -> 2021.03.25
https://github.com/ytdl-org/youtube-dl/releases/tag/2021.03.25
2021-03-25 07:13:26 +10:00
Doron Behar c4697bc876
Merge pull request #117207 from doronbehar/pkg/gnomeExtensions/sound-output-device-chooser 2021-03-24 21:11:51 +00:00
Doron Behar ede740d3b9
Merge pull request #117022 from doronbehar/pkg/vim_configurable
vim_configurable: Make disabling guiSupport easier
2021-03-24 21:11:24 +00:00