Commit Graph

57 Commits

Author SHA1 Message Date
Gaetan Lepage
8ff4998cd9 abseil-cpp_202407: 20240722.1 -> 20240722.2
Diff: https://github.com/abseil/abseil-cpp/compare/20240722.1...20240722.2

Changelog: https://github.com/abseil/abseil-cpp/releases/tag/20240722.2
2026-02-13 23:27:47 +00:00
Ihar Hrachyshka
567e8dfd8e treewide: clean up 'meta = with' pattern
This commit was created by a combination of scripts and tools:
- an ast-grep script to prefix things in meta with `lib.`,
- a modified nixf-diagnose / nixf combination to remove unused `with
lib;`, and
- regular nixfmt.

Co-authored-by: Wolfgang Walther <walther@technowledgy.de>
2025-12-10 18:09:49 +01:00
Emily
5e733d73a6 abseil-cpp_202301: drop
Only used by the broken TensorFlow source build.
2025-08-22 16:18:23 +01:00
Wolfgang Walther
5a0711127c treewide: run nixfmt 1.0.0 2025-07-24 13:55:40 +02:00
Winter
a19cd4ffb1 Revert "treewide: replace rev with tag"
This reverts commit 65a333600d.

This wasn't tested for correctness with something like fodwatch [0],
and should not have been (self-)merged so quickly, especially without
further review.

It also resulted in the breakage of at least one package [1] (and that's
the one we know of and was caught).

A few packages that were updated in between this commit and this revert
were not reverted back to using `rev`, but other than that, this is a
1:1 revert.

[0]: https://codeberg.org/raphaelr/fodwatch
[1]: https://github.com/NixOS/nixpkgs/pull/396904 / 758551e458
2025-04-08 02:57:25 -04:00
Pol Dellaiera
65a333600d treewide: replace rev with tag 2025-04-07 16:57:22 +02:00
Silvan Mosberger
374e6bcc40 treewide: Format all Nix files
Format all Nix files using the officially approved formatter,
making the CI check introduced in the previous commit succeed:

  nix-build ci -A fmt.check

This is the next step of the of the [implementation](https://github.com/NixOS/nixfmt/issues/153)
of the accepted [RFC 166](https://github.com/NixOS/rfcs/pull/166).

This commit will lead to merge conflicts for a number of PRs,
up to an estimated ~1100 (~33%) among the PRs with activity in the past 2
months, but that should be lower than what it would be without the previous
[partial treewide format](https://github.com/NixOS/nixpkgs/pull/322537).

Merge conflicts caused by this commit can now automatically be resolved while rebasing using the
[auto-rebase script](8616af08d9/maintainers/scripts/auto-rebase).

If you run into any problems regarding any of this, please reach out to the
[formatting team](https://nixos.org/community/teams/formatting/) by
pinging @NixOS/nix-formatting.
2025-04-01 20:10:43 +02:00
Gaetan Lepage
1da5a1c8eb abseil-cpp_202401: 20240116.2 -> 20240116.3
Diff:
https://github.com/abseil/abseil-cpp/compare/20240116.2...20240116.3

Changelog: https://github.com/abseil/abseil-cpp/releases/tag/20240116.3
2025-01-23 17:08:34 +01:00
Gaetan Lepage
5915be7ae8 abseil-cpp: 20240722.0 -> 20240722.1
Diff:
https://github.com/abseil/abseil-cpp/compare/20240722.0...20240722.1

Changelog: https://github.com/abseil/abseil-cpp/releases/tag/20240722.1
2025-01-23 17:07:55 +01:00
Silvan Mosberger
667d42c00d treewide: format all inactive Nix files
After final improvements to the official formatter implementation,
this commit now performs the first treewide reformat of Nix files using it.
This is part of the implementation of RFC 166.

Only "inactive" files are reformatted, meaning only files that
aren't being touched by any PR with activity in the past 2 months.
This is to avoid conflicts for PRs that might soon be merged.
Later we can do a full treewide reformat to get the rest,
which should not cause as many conflicts.

A CI check has already been running for some time to ensure that new and
already-formatted files are formatted, so the files being reformatted here
should also stay formatted.

This commit was automatically created and can be verified using

    nix-build a08b3a4d19.tar.gz \
      --argstr baseRev 57b193d8dd
    result/bin/apply-formatting $NIXPKGS_PATH
2024-12-10 20:27:17 +01:00
Gaetan Lepage
2a3534c45b abseil-cpp_202[301,401]: fix build on aarch64_darwin
https://github.com/abseil/abseil-cpp/pull/1707
2024-12-06 10:36:35 +01:00
Steven Keuchel
51b89f2406 abseil-cpp_202407: apply pkgconfig fix for darwin 2024-10-21 08:22:17 +02:00
Artturin
f0e657f3b1 Merge branch 'master' into staging-next 2024-09-25 06:05:01 +03:00
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
Alyssa Ross
697ece4455 musl: 1.2.3 -> 1.2.5
This release fixes the implementation of strverscmp(), so the libtasn1
patch that negates the test can now be removed.
2024-09-20 18:46:25 +02:00
Alyssa Ross
9c9e5a0f77 abseil-cpp_202111: remove unreferenced file
Fixes: 7f43f95381 ("abseil-cpp_202111: drop")
2024-09-18 09:54:42 +02:00
Martin Weinelt
355530f35a abseil-cpp_202401: reinit 2024-08-13 20:30:06 +02:00
Gaetan Lepage
e4bb50afcb abseil-cpp: 20240116.2 -> 20240722.0
Diff:
https://github.com/abseil/abseil-cpp/compare/20240116.2...20240722.0

Changelog: https://github.com/abseil/abseil-cpp/releases/tag/20240722.0
2024-08-01 23:27:15 +02:00
Sandro Jäckel
465ef49127 abseil-cpp_202206: drop 2024-06-10 15:21:35 +02:00
Sandro Jäckel
36ceabaca5 abseil-cpp_202308: drop as unused 2024-06-10 14:49:29 +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
Yohann Boniface
d20a86ccc1 pkgs/development/libraries: remove unused fetchpatch and other arguments (#313402) 2024-05-23 13:43:35 +02:00
Gaetan Lepage
b5e2755a29 abseil-cpp_202401: 20240116.1 -> 20240116.2
Changelog: https://github.com/abseil/abseil-cpp/releases/tag/20240116.2
2024-04-09 11:25:42 +02:00
Vladimír Čunát
a5b95fbbba Merge #288469: abseil-cpp_202401: 20240116.0 -> 20240116.1
...into staging
2024-02-28 10:59:05 +01:00
Mario Rodas
188353a40d Merge pull request #288464 from GaetanLepage/abseil
abseil-cpp-202206: 20220623.1 -> 20220623.2
2024-02-17 09:52:06 -05:00
Mario Rodas
5d874ac468 Merge pull request #288495 from GaetanLepage/abseil202301
abseil-cpp_202301: 20230125.3 -> 20230125.4
2024-02-17 07:25:16 -05:00
Gaetan Lepage
f645086350 abseil-cpp_202301: 20230125.3 -> 20230125.4
Changelog: https://github.com/abseil/abseil-cpp/releases/tag/20230125.4
2024-02-13 10:58:03 +01:00
Gaetan Lepage
5f0cf57324 abseil-cpp_202308: 20230802.1 -> 20230802.2
Changelog: https://github.com/abseil/abseil-cpp/releases/tag/20230802.2
2024-02-13 10:53:41 +01:00
Gaetan Lepage
f1fba94949 abseil-cpp: 20240116.0 -> 20240116.1
Changelog: https://github.com/abseil/abseil-cpp/releases/tag/20240116.1
2024-02-13 09:55:41 +01:00
Gaetan Lepage
09ce60f8a1 abseil-cpp-202206: 20220623.1 -> 20220623.2
Changelog: https://github.com/abseil/abseil-cpp/releases/tag/20220623.2
2024-02-13 07:44:05 +01:00
Gaetan Lepage
fd17235695 abseil-cpp_202401: init at 20240116.0 2024-01-28 22:19:20 +01:00
Peder Bergebakken Sundt
f41aba3739 treewide: remove unreferenced patch files
Found with `fd \\.patch$ pkgs/ -x bash -c 'rg -F "{/}" pkgs/ -q || echo {}'`
2023-12-01 06:11:20 +01:00
Randy Eckenrode
16b92feec9 abseil-cpp_202308: drop unnecessary patch
abseill-cpp 202308 does not link the absolute path to CoreFoundation, so
the patch is not needed.
2023-11-13 19:11:16 -05:00
Randy Eckenrode
020240dc47 abseil-cpp: don’t propagate CoreFoundation
abseil-cpp builds with the default SDK, which can break dependent
packages that require a different SDK version to build. Don’t propagate
the CoreFoundation framework path and rely on nixpkgs to provide it
instead. The line can’t be dropped because otherwise abseil-cpp will
fail to build (due to missing symbols).
2023-11-04 01:47:58 -04:00
R. Ryantm
fae45dd007 abseil-cpp_202308: 20230802.0 -> 20230802.1 2023-09-22 07:51:57 +00:00
Theodore Ni
3c903fd42e Merge pull request #248064 from aaronjheng/abseil-cpp
abseil-cpp_202308: init at 20230802.0
2023-08-23 18:15:40 -07:00
Aaron Jheng
2e9514b773 abseil-cpp_202308: init at 20230802.0 2023-08-10 10:25:18 +08:00
Tobias Mayer
dc5cd92e50 abseil-cpp_202301: install test helpers 2023-08-05 11:26:16 +02:00
Tomas Drtina
7e7e848d4a abseil-cpp_202301: init at 20230125.3 2023-06-20 07:30:17 -04:00
Sergei Trofimovich
eed6207e96 abseil-cpp: backport gcc-13 fix
Without the change `abseil-cpp` build fails on `gcc-13` as:

    /build/abseil-cpp/absl/strings/internal/str_format/extension.h:34:33:
      error: found ':' in nested-name-specifier, expected '::'
       34 | enum class FormatConversionChar : uint8_t;
          |                                 ^
          |                                 ::
2023-05-29 22:15:03 +01:00
jackyliu16
23bd354873 abseil-cpp: Enable loongarch64
Base on https://github.com/abseil/abseil-cpp/pull/1110 to enable
  loongarch64
2023-05-02 16:44:38 +08:00
Martin Weinelt
7399b9f0cf abseil-cpp_202206: init at 20220623.1 2022-09-28 23:16:12 +02:00
Jonathan Ringer
a0da54e4d1 abseil-cpp: init 20211102.0 2022-02-09 21:05:27 -08:00
Phillip Cloud
f506ecdca9 all-packages: pass cxxStandard to or-tools 2021-11-01 11:50:37 -04:00
Phillip Cloud
f918954e06 abseil-cpp: format 2021-11-01 11:50:19 -04:00
Phillip Cloud
af3444ffc5 abseil-cpp: add cxxStandard input 2021-11-01 11:50:18 -04:00
Mario Rodas
d1de5af675 abseil-cpp: 20210324.1 -> 20210324.2
https://github.com/abseil/abseil-cpp/releases/tag/20210324.2
2021-09-01 04:20:00 +00:00
Gabriel Ebner
fc4f549d39 abseil-cpp: 20200923.3 -> 20210324.1 2021-05-22 16:57:32 +02:00
Mario Rodas
c28308c29e abseil-cpp: build shared by default 2021-03-20 04:20:00 +00:00
Robert T. McGibbon
577bab6918 abseil-cpp: 20200225.2 -> 20200923.3 2021-02-20 15:41:18 -05:00