Commit Graph

100 Commits

Author SHA1 Message Date
Artturin
e0464e4788 treewide: replace stdenv.is with stdenv.hostPlatform.is
In preparation for the deprecation of `stdenv.isX`.

These shorthands are not conducive to cross-compilation because they
hide the platforms.

Darwin might get cross-compilation for which the continued usage of `stdenv.isDarwin` will get in the way

One example of why this is bad and especially affects compiler packages
https://www.github.com/NixOS/nixpkgs/pull/343059

There are too many files to go through manually but a treewide should
get users thinking when they see a `hostPlatform.isX` in a place where it
doesn't make sense.

```
fd --type f "\.nix" | xargs sd --fixed-strings "stdenv.is" "stdenv.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "stdenv'.is" "stdenv'.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "clangStdenv.is" "clangStdenv.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "gccStdenv.is" "gccStdenv.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "stdenvNoCC.is" "stdenvNoCC.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "inherit (stdenv) is" "inherit (stdenv.hostPlatform) is"
fd --type f "\.nix" | xargs sd --fixed-strings "buildStdenv.is" "buildStdenv.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "effectiveStdenv.is" "effectiveStdenv.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "originalStdenv.is" "originalStdenv.hostPlatform.is"
```
2024-09-25 00:04:37 +03:00
Jade Lovelace
5dfdb09561 tree-wide: remove eelco as maintainer from things he no longer maintains
While preparing this change, I read the git blame on all of the files I
touched. I saw a working lifetime of building this system which we use
every day and love dearly and keep maintained ourselves. I saw commits
from a 14 year range between 2003 to 2017!! I could not be more thankful
for Eelco's work on building large parts of the foundation of nixpkgs
that all of us rely on now.

However, the end date of that range of the files I looked at the blame
on was 2017. I did not see surviving code from any newer date than that.
Looking at the Git logs, Eelco has been working on other things, and
that's totally fine.

However, it means that our maintenance metadata is out of date on a lot
of packages, and *that*'s the reason I am submitting this change. There
are a lot of packages that don't have anyone with their name on them to
be pinged if they need attention, even if they have had recent activity
(although it is never clear if recent activity was just someone fixing
it because ZHF or because the package actually matters to them).
There are a lot of packages with storied history that maybe don't need
to be in the set anymore at all since they have not been touched in
years; or maybe they are simply finished.

Empty maintainer lists should be a sign that we need to figure out who
maintains it or potentially remove it if it has rotted, and allowing the
maintainer list to be empty if it is already not maintained is part of a
healthy repository ecology.

Either way, I would like to have the maintenance metadata not mislead
anyone into sending Eelco emails about packages he doesn't, in practice,
work on anymore. I have not removed his name from everything; there are
some things that he is the upstream for or has worked on more recently,
for instance, like Nix, which I have left alone.
2024-08-21 01:17:45 -07:00
Sandro
413d202776 Merge pull request #314528 from r-ryantm/auto-update/aws-sdk-cpp
aws-sdk-cpp: 1.11.318 -> 1.11.336
2024-06-13 19:03:35 +02:00
Alexis Hildebrandt
755b915a15 treewide: Remove indefinite article from meta.description
nix run nixpkgs#silver-searcher -- -G '\.nix$' -0l 'description.*"[Aa]n?' pkgs \
  | xargs -0 nix run nixpkgs#gnused -- -i '' -Ee 's/(description.*")[Aa]n? (.)/\1\U\2/'
2024-06-09 23:07:45 +02:00
R. Ryantm
720d3ed3a8 aws-sdk-cpp: 1.11.318 -> 1.11.336 2024-06-04 09:43:21 +00:00
Artturin
21d9d5a770 aws-sdk-cpp: 1.11.309 -> 1.11.318
Diff: https://github.com/aws/aws-sdk-cpp/compare/1.11.309...1.11.318
2024-05-01 04:41:52 +03:00
Mario Rodas
82048b01f6 aws-sdk-cpp: 1.11.296 -> 1.11.309
Diff: https://github.com/aws/aws-sdk-cpp/compare/1.11.296...1.11.309
2024-04-17 04:20:00 +00:00
Mario Rodas
e46643aa40 aws-sdk-cpp: 1.11.207 -> 1.11.296
Diff: https://github.com/aws/aws-sdk-cpp/compare/1.11.207...1.11.296
2024-03-28 04:20:00 +00:00
Nick Cao
dbb7b67b56 aws-sdk-cpp: drop libatomic workaround for riscv 2023-12-16 16:26:40 -05:00
Artturin
de9a34d3f1 aws-sdk-cpp: add 'tests.cmake-find-package'
tests for 'aws-sdk-cpp does not work with cmake's find_package() issue 70075'
2023-12-02 01:15:16 +02:00
Artturin
2cb609096d aws-sdk-cpp: add nix and arrow-cpp to tests
arrow-cpp uses aws-sdk-cpp with cmake
2023-12-02 01:15:16 +02:00
Artturin
6cc5be4dd0 aws-sdk-cpp: 1.11.200 -> 1.11.207
Diff: https://github.com/aws/aws-sdk-cpp/compare/1.11.200...1.11.207

patch should now be unnecessary

6952c4fe09
2023-12-02 01:15:05 +02:00
Artturi
5867d146dc Merge pull request #182918 from jonringer/fix-aws-sdk-cpp-find 2023-07-24 21:31:13 +03:00
Jonathan Ringer
f7557ec309 aws-sdk-cpp: include dev output as header path hint 2023-07-23 03:32:49 +03:00
Artturin
213fb14d1f aws-sdk-cpp: 1.11.37 -> 1.11.118
Diff: https://github.com/aws/aws-sdk-cpp/compare/1.11.37...1.11.118
2023-07-16 02:45:39 +03:00
Weijia Wang
50f080e8a5 aws-sdk-cpp: disable more flaky tests 2023-05-25 01:59:04 +03:00
Artturin
4a39830331 aws-sdk-cpp: 1.9.294 -> 1.11.37
The following warning should be looked in to

```
CMake Warning at CMakeLists.txt:9 (message):
  In 1.11 releases, we are releasing experimental alternative building
  mode.By setting -DLEGACY_MODE=OFF you can test our advances in modern CMake
  building and provide early feedback.  The legacy support is set by default
  in 1.11, when you complete build updating scripts please update the build
  flags as mentioned in README.md and set -DLEGACY_BUILD=OFF.  The legacy
  support will be removed at 1.12.0 release.
```

Co-authored-by: Tobias Mayer <tobim@fastmail.fm>
2023-04-10 19:03:41 +03:00
Artturin
f9fdf2d402 treewide: move NIX_CFLAGS_COMPILE to the env attrset
with structuredAttrs lists will be bash arrays which cannot be exported
which will be a issue with some patches and some wrappers like cc-wrapper

this makes it clearer that NIX_CFLAGS_COMPILE must be a string as lists
in env cause a eval failure
2023-02-22 21:23:04 +02:00
Artturin
6f6cc4a22d treewide: use toString on list NIX_CFLAGS_COMPILE
with structuredAttrs lists will be bash arrays which cannot be exported
which will be a issue with some patches and some wrappers like cc-wrapper
2023-02-22 21:23:04 +02:00
Domen Kožar
e1aff0ecbc aws-sdk-cpp: disable flaky test 2023-01-18 15:19:52 +00:00
Madoura
b3851cdeb0 aws-sdk-cpp: fix build on RISC-V hosts 2022-11-25 10:41:20 -06:00
Sergei Trofimovich
627b4dc438 aws-sdk-cpp: disable blanket -Werror
`-Werror` flag usually causes build failures due to minor changes in
compiler versions. They might be useful for developers themselves but
are rarely useful for distributions.

For example right now `aws-sdk-cpp` fails to compile on `gcc-13` due to
a `gcc` infelicity: https://gcc.gnu.org/PR107488

While this concrete instance is a compiler bug generally `-Werror` makes
users' lives harder. Specific `-Werror=<foo>` are better way to prevent
certain classes of bugs.

The change removes blanket `-Werror` with a `substituteInPlace` call.
2022-11-02 07:54:29 +00:00
Sandro Jäckel
f5f1d11b9e aws-sdk-cpp: ignore openssl 3 deprecation warnings 2022-08-31 18:04:18 +02:00
Vladimír Čunát
b77a8d11f2 aws-sdk-cpp: full versions builds fine on x86_64-linux
Though the RAM/core requirements are quite high during linking.
2022-08-31 09:30:47 +02:00
Sandro Jäckel
a6be71e6fc aws-sdk-cpp: unpin i686 instead remove failing test and mark broken when building ec2, little cleanup 2022-08-30 17:31:47 +02:00
Jiajie Chen
2e84bb9740 aws-sdk-cpp: 1.9.238 -> 1.9.294 2022-08-01 22:09:23 +08:00
Josef Kemetmüller
1ca04aa9f1 treewide: Stop setting CMAKE_SKIP_BUILD_RPATH=OFF
This is now the new default and thus doesn't need to be set manually
anymore.
2022-07-04 03:49:01 +03:00
Vladimír Čunát
f542643ed3 aws-sdk-cpp: revert to older version on i686-linux
After update in PR #169281 (commit f394cc6c5) it won't build:
https://hydra.nixos.org/build/174323623

It's still unreliable, as even the i686 builds that succeeded on Hydra
won't build for me locally, shooting over the 32-bit memory limit.
But I trust this will unblock the nixos-unstable channel on Hydra.
2022-04-23 09:39:01 +02:00
Fabián Heredia Montiel
f394cc6c54 aws-sdk-cpp: 1.9.150 → 1.9.238 2022-04-19 18:53:51 -05:00
github-actions[bot]
cf7efe1192 Merge staging-next into staging 2022-01-08 12:01:36 +00:00
Dmitry Kalinkin
c7548ff9a9 aws-sdk-cpp: fix cmake config 2022-01-07 07:04:56 -05:00
Dmitry Kalinkin
fe912e67e3 aws-sdk-cpp: update GitHub repo owner 2022-01-07 07:04:11 -05:00
R. Ryantm
4ecebc7409 aws-sdk-cpp: 1.9.121 -> 1.9.150 2021-12-12 03:48:31 +00:00
Ryan Burns
f2325f8ef0 aws-sdk-cpp: re-disable flaky test
This was un-disabled as it was thought to be resolved,
but has occurred again on Hydra.
2021-11-04 18:38:14 -07:00
Tom Bereknyei
3527b88d60 aws-sdk-cpp: propagate aws-crt-cpp 2021-10-20 03:48:45 -04:00
Ryan Burns
abbb7c6e60 aws-sdk-cpp: 1.8.130 -> 1.9.121 2021-10-14 10:53:13 -07:00
happysalada
d9087aab1b aws-sdk-cpp: disabale parallel checking
data races suspected in
aws-cpp-sdk-core-tests/aws/auth/AWSCredentialsProviderTest.cpp
and
aws-cpp-sdk-core-tests/aws/client/AWSClientTest.cpp
2021-09-04 10:51:11 +09:00
happysalada
c65ec0c87d aws-cpp-sdk: disable flaky test 2021-08-28 10:06:09 +09:00
r-burns
d63e4e2367 aws-sdk-cpp: fix cross-OS crosscompilation (#133182)
The TARGET_ARCH cmake variable is used to specify the host OS, which if
unspecified defaults to the same as the build OS. So to crosscompile
aws-sdk-cpp to another OS, the TARGET_ARCH variable must be specified.

Example hydra failure: https://hydra.nixos.org/build/149290553/nixlog/3
2021-08-08 21:08:47 -04:00
Ben Siraphob
82ad135657 Merge pull request #111135 from r-ryantm/auto-update/aws-sdk-cpp
aws-sdk-cpp: 1.8.121 -> 1.8.130
2021-07-31 13:40:44 +07:00
Phillip Cloud
a1c9a51fa7 awk-sdk-cpp: propagate libraries 2021-06-06 11:54:25 -04:00
Matthew Bauer
8b51a45a55 Merge pull request #116099 from matthewbauer/fix-aws-sdk-cpp-on-big-sur-2
aws-sdk-cpp: propagate Security framework
2021-05-04 22:31:30 -05:00
Luke Granger-Brown
300d303d25 aws-sdk-cpp: require big-parallel
This compiles in ~2h on a 2-core builder, and 10m on a big-parallel
machine.
2021-04-26 00:50:07 +00:00
Matthew Bauer
6255468c4e aws-sdk-cpp: propagate Security framework
We need to propagate the Security framework to avoid getting

ld: file not found: /System/Library/Frameworks/Security.framework/Versions/A/Security for architecture x86_64

on linking aws-sdk-cpp libraries.
2021-03-12 14:46:20 -06:00
Doug Chapman
fc97021306 s2n: 0.10.23->1.0.0, rename package to s2n-tls 2021-03-03 19:45:40 +00:00
R. RyanTM
198ba9ef27 aws-sdk-cpp: 1.8.121 -> 1.8.130 2021-01-29 08:43:47 +00:00
volth
bc0d605cf1 treewide: fix double quoted strings in meta.description
Signed-off-by: Ben Siraphob <bensiraphob@gmail.com>
2021-01-24 19:56:59 +07:00
Orivej Desh
92eb18f45d aws-sdk-cpp: fix cross compilation, configure for curl with http2 2021-01-21 10:33:28 +00:00
R. RyanTM
aa61094aec aws-sdk-cpp: 1.8.113 -> 1.8.121 2021-01-19 03:14:48 +00:00
Orivej Desh
ff3f5bb60c aws-sdk-cpp: 1.7.90 -> 1.8.113 2021-01-06 06:05:51 +00:00