Commit Graph

19 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
8761761830 unpackerr: 0.14.3 -> 0.14.5 2024-08-10 15:13:40 +00:00
R. Ryantm
adf2d06a82 unpackerr: 0.14.0 -> 0.14.3 2024-08-01 02:04:38 +00:00
Jörg Thalheim
5356420466 treewide: remove unused with statements from maintainer lists
$ find -type f -name '*.nix' -print0 | xargs -P "$(nproc)" -0 sed -i \
  -e 's!with lib.maintainers; \[ *\];![ ];!' \
  -e 's!with maintainers; \[ *\];![ ];!'
2024-07-29 10:06:20 +08:00
R. Ryantm
e35afbca02 unpackerr: 0.13.1 -> 0.14.0 2024-07-12 02:02:14 +00:00
Vivian
3d8b814a13 maintainers: remove nullx76 2024-07-05 22:24:03 +02:00
R. Ryantm
e508f9e727 unpackerr: 0.12.0 -> 0.13.1 2024-01-26 05:12:03 +00:00
h7x4
12315f53ff treewide: add mainProgram 2023-11-24 21:01:03 +01:00
R. Ryantm
8245a4c8f2 unpackerr: 0.11.2 -> 0.12.0 2023-08-02 23:10:04 +00:00
Victor
47e35d0f36 unpackerr: 0.11.1 -> 0.11.2 2023-05-01 09:24:10 +02:00
R. Ryantm
899efc4b92 unpackerr: 0.10.1 -> 0.11.1 2023-01-20 14:07:21 +08:00
R. Ryantm
4de1454075 unpackerr: 0.10.0 -> 0.10.1 2022-07-31 05:01:54 +00:00
Victor
cb8084f114 unpackerr: 0.9.9 -> 0.10.0 2022-05-09 11:57:52 +02:00
R. RyanTM
db7940a899
unpackerr: 0.9.8 -> 0.9.9
* unpackerr: 0.9.8 -> 0.9.9 (#158101)

* unpackerr: properly report version number

Co-authored-by: Renaud <c0bw3b@users.noreply.github.com>
2022-02-05 19:03:11 +01:00
Victor Roest
fd9a52c466
unpackerr: 0.9.7 -> 0.9.8 2021-09-12 13:12:56 +02:00
R. RyanTM
41f6d59655 unpackerr: 0.9.6 -> 0.9.7 2021-08-14 16:51:50 +00:00
Victor Roest
359fcac855
unpackerr: 0.9.4 -> 0.9.6 2021-06-05 09:51:32 +00:00
Stéphan Kochen
60fcee7e5b unpackerr: fix darwin build 2021-05-18 09:07:09 +02:00
Victor Roest
c2ad296ebd
unpackerr: init at 0.9.4 2021-05-15 19:43:40 +00:00