Commit Graph

15 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
846f4e6a6c cobalt: 0.19.5 -> 0.19.6 2024-08-08 01:19:08 +00:00
R. Ryantm
5f165e2156 cobalt: 0.19.3 -> 0.19.5 2024-07-06 00:30:17 +00:00
R. Ryantm
60d590b9d1 cobalt: 0.19.2 -> 0.19.3 2024-04-29 10:56:56 +00:00
R. Ryantm
c308259611 cobalt: 0.19.0 -> 0.19.2 2024-03-03 21:24:33 +00:00
h7x4
8121f3559a
treewide: add mainProgram 2024-02-11 03:19:15 +01:00
R. Ryantm
d406ee1dbb cobalt: 0.18.5 -> 0.19.0 2023-06-25 14:41:20 +00:00
R. Ryantm
be3252f3a0 cobalt: 0.18.4 -> 0.18.5 2023-06-04 09:57:13 +00:00
R. Ryantm
d6d676b709 cobalt: 0.18.3 -> 0.18.4 2023-05-15 22:30:08 +00:00
R. Ryantm
b5f8864263 cobalt: 0.17.5 -> 0.18.3 2022-08-28 08:43:14 +00:00
R. Ryantm
7ab7602f3f cobalt: 0.17.4 -> 0.17.5 2021-12-21 15:34:56 +00:00
R. RyanTM
473c90014f cobalt: 0.17.0 -> 0.17.4 2021-09-15 08:40:30 +00:00
R. RyanTM
ae2196daa6 cobalt: 0.16.5 -> 0.17.0 2021-09-14 04:03:23 +00:00
Ethan Edwards
b15ff3e91e
cobalt: fix darwin build (#129758)
* cobalt: fix darwin build

* Update pkgs/applications/misc/cobalt/default.nix

Co-authored-by: Sandro <sandro.jaeckel@gmail.com>
2021-07-11 18:54:13 +02:00
Ethan Edwards
44f27213f1
cobalt: init at 0.16.5 (#127624)
* cobalt: init at 0.16.5

* Update pkgs/applications/misc/cobalt/default.nix

Co-authored-by: Sandro <sandro.jaeckel@gmail.com>
2021-06-21 13:52:56 +02:00