Commit Graph

51 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
R. Ryantm
3f255f7f28 catch2_3: 3.5.2 -> 3.7.0 2024-08-19 00:19:26 +00: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
Steven Keuchel
fb1b6c9d57
catch2_3: fix build on riscv and armv7l
Co-authored-by: misuzu <neironyan@gmail.com>
2024-03-14 15:17:28 +01:00
Robert Scott
ccf0e19d55 catch2_3: disable trivialautovarinit hardening flag 2024-02-24 12:00:10 +00:00
Robert Schütz
b7eef5a9d5
Merge pull request #282443 from panicgh/catch2-windows
catch2, catch2_3: build on windows
2024-01-29 02:48:50 +00:00
K900
3f258b8e44 catch2_3: fix build on i686 2024-01-25 13:58:23 +03:00
Vladimír Čunát
dd2399ded7
catch2_3: 3.5.1 -> 3.5.2
https://github.com/catchorg/Catch2/releases/tag/v3.5.2

This addresses an issue shown when compiling tests in tiledb package:
include/catch2/internal/catch_clara.hpp:676:24:
  error: cannot bind non-const lvalue reference of type 'Catch::Clara::Parser&'
    to an rvalue of type 'Catch::Clara::Parser'
2024-01-22 18:19:51 +01:00
Nicolas Benes
d2932553d1 catch2: enable build for i686-windows 2024-01-21 00:41:45 +01:00
Nicolas Benes
ce517168c8 catch2_3: enable build for windows 2024-01-21 00:41:45 +01:00
Lin Xianyi
e9affccd5d catch2_3: 3.5.0 -> 3.5.1 2024-01-05 09:04:38 +08:00
Robert Schütz
701410a987 catch2_3: 3.4.0 -> 3.5.0
Diff: https://github.com/catchorg/Catch2/compare/v3.4.0...v3.5.0

Changelog: https://github.com/catchorg/Catch2/blob/v3.5.0/docs/release-notes.md
2023-12-11 20:54:13 -08:00
Robert Schütz
1e7432b5de catch2_3: 3.3.2 -> 3.4.0
Diff: https://github.com/catchorg/Catch2/compare/v3.3.2...v3.4.0

Changelog: https://github.com/catchorg/Catch2/blob/v3.4.0/docs/release-notes.md
2023-07-14 06:38:14 -07:00
Robert Schütz
0eff36777f catch2_3: 3.3.1 -> 3.3.2
Diff: https://github.com/catchorg/Catch2/compare/v3.3.1...v3.3.2

Changelog: https://github.com/catchorg/Catch2/releases/tag/v3.3.2
2023-02-28 13:39:35 -08:00
R. Ryantm
ec7f2aa3b3 catch2_3: 3.3.0 -> 3.3.1 2023-02-02 13:51:15 -08:00
Robert Schütz
6108775d2d catch2_3: 3.2.1 -> 3.3.0
https://github.com/catchorg/Catch2/releases/tag/v3.3.0
2023-01-22 22:33:05 -08:00
Guillaume Girol
33afbf39f6 treewide: switch to nativeCheckInputs
checkInputs used to be added to nativeBuildInputs. Now we have
nativeCheckInputs to do that instead. Doing this treewide change allows
to keep hashes identical to before the introduction of
nativeCheckInputs.
2023-01-21 12:00:00 +00:00
Robert Schütz
0483b2b2e6 catch2_3: 3.2.0 -> 3.2.1
https://github.com/catchorg/Catch2/releases/tag/v3.2.1
2022-12-11 18:08:55 -08:00
R. Ryantm
3ca855084a catch2_3: 3.1.1 -> 3.2.0 2022-11-17 21:36:18 -08:00
Robert Schütz
d3ea3da740 catch2_3: 3.1.0 -> 3.1.1
https://github.com/catchorg/Catch2/releases/tag/v3.1.1
2022-11-08 18:10:30 -08:00
R. Ryantm
a247c12785 catch2: 2.13.9 -> 2.13.10 2022-10-17 12:34:54 +00:00
Robert Scott
8a4411252e catch2_3: skip test ApprovalTests on darwin 2022-07-30 22:44:50 +01:00
R. Ryantm
7cf711c4e0 catch2_3: 3.0.1 -> 3.1.0 2022-07-30 15:25:20 +00:00
Philipp Middendorf
3492b73572 fcppt: 3.5.0 -> 4.2.1 2022-07-17 08:47:18 +02:00
Robert Schütz
01fb64af34 catch2_3: init at 3.0.1
Version 3 is not backwards compatible with version 2:
https://github.com/catchorg/Catch2/blob/v3.0.1/docs/migrate-v2-to-v3.md
2022-06-15 00:07:43 +00:00
R. Ryantm
dfe98e2c07 catch2: 2.13.8 -> 2.13.9 2022-06-12 22:59:21 +00:00
R. RyanTM
15930604b8
catch2: 2.13.7 -> 2.13.8
(#154407)
2022-01-25 12:21:39 +01:00
R. RyanTM
cb8424f8b2 catch2: 2.13.4 -> 2.13.7 2021-08-09 14:44:16 +00:00
Ben Siraphob
66e44425c6 pkgs/development/libraries: stdenv.lib -> lib 2021-01-21 19:11:02 -08:00
R. RyanTM
91f44a1590 catch2: 2.13.3 -> 2.13.4 2021-01-18 12:15:03 +00:00
R. RyanTM
145f20d1e7 catch2: 2.13.2 -> 2.13.3 2020-11-11 14:40:22 -08:00
R. RyanTM
3b70b69476 catch2: 2.12.3 -> 2.13.2 2020-11-02 08:20:21 -08:00
R. RyanTM
a5121f73e3 catch2: 2.12.2 -> 2.12.3 2020-09-06 18:53:20 +02:00
R. RyanTM
71fd66ef17 catch2: 2.12.1 -> 2.12.2 2020-05-30 15:41:07 +02:00
R. RyanTM
d5c7ba352e catch2: 2.11.3 -> 2.12.1 2020-05-04 01:22:45 -07:00
R. RyanTM
f365b382c7 catch2: 2.11.1 -> 2.11.3 2020-03-20 23:40:24 -07:00
R. RyanTM
9d5dbf4bc1 catch2: 2.11.0 -> 2.11.1 2020-01-06 00:42:19 -08:00
R. RyanTM
c3d8659beb catch2: 2.10.2 -> 2.11.0 2019-11-25 09:04:59 -08:00
R. RyanTM
2f5967aa33 catch2: 2.10.0 -> 2.10.2 2019-11-02 11:25:46 -07:00
R. RyanTM
36ffad1d7e catch2: 2.9.2 -> 2.10.0
Semi-automatic update generated by
https://github.com/ryantm/nixpkgs-update tools. This update was made
based on information from
https://repology.org/metapackage/catch2/versions
2019-10-21 19:53:25 -07:00
R. RyanTM
0877ebd6d2 catch2: 2.8.0 -> 2.9.2 (#63993)
* catch2: 2.8.0 -> 2.9.1

Semi-automatic update generated by
https://github.com/ryantm/nixpkgs-update tools. This update was made
based on information from
https://repology.org/metapackage/catch2/versions

* catch2: 2.9.1 -> 2.9.2
2019-10-12 19:33:32 +02:00
volth
46420bbaa3 treewide: name -> pname (easy cases) (#66585)
treewide replacement of

stdenv.mkDerivation rec {
  name = "*-${version}";
  version = "*";

to pname
2019-08-15 13:41:18 +01:00
volth
f3282c8d1e treewide: remove unused variables (#63177)
* treewide: remove unused variables

* making ofborg happy
2019-06-16 19:59:05 +00:00
R. RyanTM
a9620fa6a0 catch2: 2.7.2 -> 2.8.0
Semi-automatic update generated by
https://github.com/ryantm/nixpkgs-update tools. This update was made
based on information from
https://repology.org/metapackage/catch2/versions
2019-06-01 01:50:44 -07:00
R. RyanTM
a10b1551c8 catch2: 2.7.0 -> 2.7.2 (#59455)
* catch2: 2.7.0 -> 2.7.1

Semi-automatic update generated by
https://github.com/ryantm/nixpkgs-update tools. This update was made
based on information from
https://repology.org/metapackage/catch2/versions

* catch2: 2.7.1 -> 2.7.2
2019-04-24 22:21:01 +02:00
John Ericson
4ccb74011f Merge commit '18aa59b0f26fc707e7313f8467e67159e61600c2' from master into staging
There was one conflict in the NixOS manual; I checked that it still
built after resolving it.
2019-04-01 00:40:03 -04:00
Will Dietz
9e490068ac catch2: 2.6.0 -> 2.7.0
https://github.com/catchorg/Catch2/releases/tag/v2.7.0
https://github.com/catchorg/Catch2/releases/tag/v2.6.1
2019-03-19 00:08:02 -05:00
Matthew Bauer
6ed49262f5 treewide: remove BUILD_TESTING flag
This is now set by CMake
2019-03-11 10:11:28 -04:00
R. RyanTM
2f848b328e catch2: 2.5.0 -> 2.6.0
Semi-automatic update generated by
https://github.com/ryantm/nixpkgs-update tools. This update was made
based on information from
https://repology.org/metapackage/catch2/versions
2019-02-16 09:09:17 -08:00
R. RyanTM
955a9959ac catch2: 2.4.2 -> 2.5.0
Semi-automatic update generated by
https://github.com/ryantm/nixpkgs-update tools. This update was made
based on information from
https://repology.org/metapackage/catch2/versions
2019-01-13 09:42:57 +01:00