Commit Graph
284441 Commits
Author SHA1 Message Date
Andrew Childs 6ee72dd5ab bintools-wrapper: ensure roles are set before mangling variables 2021-04-11 10:27:16 +09:00
Andrew Childs 33265e0dd9 darwin/xcode: remove platform version flags
These are now provided by the standard bintools and cc wrappers.
2021-04-11 09:47:10 +09:00
Andrew Childs d0418480f1 lib.systems: add darwinPlatform where necessary 2021-04-11 09:47:10 +09:00
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 https://github.com/tpoechtrager/cctools-port/blob/236a426c1205a3bfcf0dbb2e2faf2296f0a100e5/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
Matthew Bauer fbb26ab536 shadow: add runtime-shell.patch
This gets the right shell in the closure.

By default, shadow wants to pull in the bash we are building it with,
while we would prefer it used the runtime bash.
2021-04-11 02:42:53 +02:00
Alyssa Ross d45fc07bc2 nixos/postfix: add services.postfix.canonical opt
This mirrors the services.postfix.transport and
services.postfix.virtual options we already have.
2021-04-11 00:31:12 +00:00
Peter Simons a84b250f7f hackage-packages.nix: automatic Haskell package set update
This update was generated by hackage2nix v2.17.0-2-g2ef7e72 from Hackage revision
https://github.com/commercialhaskell/all-cabal-hashes/commit/3601914c12f130f2ed460b8531502da57e7ef6b1.
2021-04-11 02:30:31 +02:00
Ryan Mulligan afca74b711 Merge pull request #119027 from r-ryantm/auto-update/jbang
jbang: 0.69.2 -> 0.70.0
2021-04-10 17:30:19 -07:00
Ryan Mulligan 39156b1bad Merge pull request #119059 from r-ryantm/auto-update/obsidian
obsidian: 0.11.9 -> 0.11.13
2021-04-10 17:29:31 -07:00
Ryan Mulligan 57223384f8 Merge pull request #118969 from r-ryantm/auto-update/ciao
ciao: 1.19.0 -> 1.20.0
2021-04-10 17:27:42 -07:00
Ivan Babrou af8164fba2 python3Packages.trustme: skip disallowed w+x test on aarch64-darwin 2021-04-10 17:19:36 -07:00
github-actions[bot] a05e63f50b Merge master into staging-next 2021-04-11 00:17:25 +00:00
Alyssa Ross 25628c6454 cvs: fix cross; clarify license 2021-04-10 23:52:50 +00:00
Alyssa Ross a3251fb2e0 motif: fix format-security 2021-04-10 23:51:05 +00:00
Alyssa Ross 8edca5ad79 motif: 2.3.6 -> 2.3.8; clarify license; adopt 2021-04-10 23:51:00 +00:00
Fabian Affolter 1a3dce63c3 apkid: init at 2.1.1 2021-04-11 01:37:23 +02:00
Fabian Affolter 06514288d6 yara: enable additional features 2021-04-11 01:35:08 +02:00
Fabian Affolter 36d4934c39 python3Packages.yara-python: init at 4.0.5 2021-04-11 01:35:08 +02:00
Ryan Mulligan 2c8e88dabe Merge pull request #118962 from r-ryantm/auto-update/cargo-deny
cargo-deny: 0.9.0 -> 0.9.1
2021-04-10 16:01:53 -07:00
Ryan Mulligan 018a1fe921 Merge pull request #118956 from r-ryantm/auto-update/amber
amber: 0.5.8 -> 0.5.9
2021-04-10 16:01:09 -07:00
Fabian Affolter 089908b9db Merge pull request #119033 from r-ryantm/auto-update/lazygit
lazygit: 0.26.1 -> 0.27.3
2021-04-11 00:35:19 +02:00
Fabian Affolter 2ea8e240ff home-assistant: update component-packages 2021-04-10 15:31:56 -07:00
Fabian Affolter 0b78980d67 python3Packages.pyenvisalink: init at 4.1 2021-04-10 15:31:56 -07:00
Fabian Affolter e5b6e6f289 hfinger: init at 0.2.0 2021-04-11 00:22:19 +02:00
Bernardo Meurer a451d399d3 Merge pull request #118900 from Luis-Hebendanz/fixing_firefox_issue_#118860
firefox/wrapper.nix: Fixed issue #118860
2021-04-10 22:18:22 +00:00
Hubert Jasudowicz 83838f7233 maintainers: add chivay 2021-04-11 00:16:41 +02:00
Aaron Andersen e0fd737309 Merge pull request #107969 from corngood/jellyfin
jellyfin: add openFirewall option
2021-04-10 18:02:05 -04:00
Robert Scott f9951f50a5 Merge pull request #118995 from r-ryantm/auto-update/frangipanni
frangipanni: 0.4.0 -> 0.4.2
2021-04-10 21:58:28 +01:00
Mario Rodas b196ddbac4 Merge pull request #119072 from stephank/imgproxy-darwin
imgproxy: fix build on Darwin
2021-04-10 15:45:42 -05:00
Mario Rodas 4addb868bb Merge pull request #119025 from r-ryantm/auto-update/imgproxy
imgproxy: 2.16.2 -> 2.16.3
2021-04-10 15:41:38 -05:00
Pascal Bach 51470b0390 Merge pull request #119053 from r-ryantm/auto-update/minio
minio: 2021-03-26T00-00-41Z -> 2021-04-06T23-11-00Z
2021-04-10 22:28:07 +02:00
fortuneteller2k b9e7778877 linux_xanmod: 5.11.12 -> 5.11.13 2021-04-11 04:14:34 +08:00
Ryan Horiguchi b79e96e2ed gnomeExtensions.unite: 48 -> 49 2021-04-10 21:41:26 +02:00
Sandro 570652d728 Merge pull request #118994 from 06kellyjac/master
octant: 0.18.0 -> 0.19.0
2021-04-10 21:39:11 +02:00
Fabian Affolter 7ff4a1eb79 home-assistant: update component-packages 2021-04-10 21:34:13 +02:00
Fabian Affolter fb327d72df python3Packages.pyclimacell: init at 0.18.0 2021-04-10 21:31:54 +02:00
Fabian Affolter fec6f0b152 python3Packages.aioemonitor: init at 1.0.5 2021-04-10 21:11:42 +02:00
Stéphan Kochen 37b3deb758 imgproxy: fix build on Darwin 2021-04-10 20:55:43 +02:00
Fabian Affolter 926d6ab20d python3Packages.aiosyncthing: init at 0.5.1 2021-04-10 20:44:14 +02:00
Fabian Affolter 124aa02185 python3Packages.expects: init at 0.9.0 2021-04-10 20:41:26 +02:00
Eduardo Sánchez Muñoz b5c90bb4da kicad: fix license
https://kicad.org/about/licenses/
2021-04-10 20:39:02 +02:00
github-actions[bot] 677486d5fc Merge master into staging-next 2021-04-10 18:12:25 +00:00
Michal Minář c9b141a3b2 megasync: 4.3.5.0 -> 4.4.0.0
Signed-off-by: Michal Minář <mic.liamg@gmail.com>
2021-04-10 20:06:12 +02:00
Bruno BigrasandSandro 6378cdebad syncthing: 1.14.0 -> 1.15.1
Co-authored-by: Sandro <sandro.jaeckel@gmail.com>
2021-04-10 14:06:10 -04:00
arcnmx 2f1131cff7 cc-wrapper: match useGccForLibs conditional order
This breaks an evaluation cycle between `cc` and `gccForLibs` for cross
builds, fixing an infinite recursion error.
2021-04-10 10:39:07 -07:00