Commit Graph

12 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
8a9f9c9a9c igrep: 1.2.0 -> 1.3.0 2024-09-09 01:32:36 +00:00
0x4A6F
a990f74cf8
treewide: sha256 -> hash (#262801)
* tumpa: sha256 -> hash

* qubes-core-vchan-xen: sha256 -> hash

* qdmr: sha256 -> hash

* w_scan2: sha256 -> hash

* libcdada: sha256 -> hash

* eidolon: sha256 -> hash

* freenukum: sha256 -> hash

* promscale: sha256 -> hash

* tacacsplus: sha256 -> hash

* blflash: sha256 -> hash

* silicon: sha256 -> hash

* nethoscope: sha256 -> hash

* pmacct: sha256 -> hash

* tayga: sha256 -> hash

* alejandra: sha256 -> hash

* igrep: sha256 -> hash

* cwm: sha256 -> hash

* dasel: sha256 -> hash
2023-10-23 00:38:33 +02:00
R. Ryantm
371b0a46ce igrep: 1.1.0 -> 1.2.0 2023-08-12 04:55:23 +00:00
R. Ryantm
9248c81816 igrep: 1.0.0 -> 1.1.0 2023-01-31 07:31:15 +00:00
R. Ryantm
233ffdee1f igrep: 0.5.1 -> 1.0.0 2023-01-14 03:11:47 +00:00
R. Ryantm
fd99bc4e39 igrep: 0.5.0 -> 0.5.1 2022-08-16 13:03:31 +00:00
happysalada
e325f7aeaa igrep: 0.2.0 -> 0.5.0 2022-04-24 14:46:39 -04:00
Artturin
f1c7f19e49 treewide: testVersion -> testers.testVersion 2022-04-22 16:24:27 +03:00
Malo Bourgon
0e802eafad treewide: add meta.mainProgram to many packages 2022-04-14 10:24:01 -07:00
0x4A6F
a173e92ee4 igrep: 0.1.2 -> 0.2.0 2022-03-06 00:46:03 +01:00
0x4A6F
df4ad8d0fd
igrep: init at 0.1.2 2022-03-02 19:00:52 +01:00