Commit Graph

10 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
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
c38dcc9958 ripes: 2.2.6-unstable-2024-04-02 -> 2.2.6-unstable-2024-04-04 2024-04-27 02:38:42 +02:00
R. Ryantm
2275d54d33 ripes: 2.2.6-unstable-2024-03-03 -> 2.2.6-unstable-2024-04-02 2024-04-03 16:36:38 +08:00
R. Ryantm
2d8f26a08f ripes: 2.2.6-unstable-2024-01-02 -> 2.2.6-unstable-2024-03-03 2024-03-09 21:33:55 +01:00
Sergei Trofimovich
c218341c52 ripes: 2.2.6 -> 2.2.6-unstable-2024-01-02
Without the change the build fails on `master` as
https://hydra.nixos.org/build/247694706:

    In file included from /build/source/external/VSRTL/interface/vsrtl_vcdfile.cpp:1:
    /build/source/external/VSRTL/interface/vsrtl_vcdfile.h:31:20: error: 'uint64_t' has not been declared
       31 |     void writeTime(uint64_t time);
          |                    ^~~~~~~~

As the fix was done in one of the external modules it seemed easier to
pull unstable `master` version. Switched to `qt6` and checked if it
starts.
2024-02-10 22:52:21 +00:00
Felix Albrigtsen
2d0ae77dbc ripes: fix darwin build 2023-09-06 23:32:25 +02:00
R. Ryantm
b3f11c60ed ripes: 2.2.5 -> 2.2.6 2023-01-13 18:11:05 +08:00
R. Ryantm
a8d96b8b99 ripes: 2.2.4 -> 2.2.5 2022-08-28 23:35:44 +00:00
rewine
19429f8f50 ripes: init at 2.2.4 2022-04-29 09:00:25 -05:00