Commit Graph

10 Commits

Author SHA1 Message Date
R. Ryantm
e4eaf7c776 raspberrypi-eeprom: 2024.09.10-2712 -> 2024.09.23-2712 2024-09-28 03:45:40 +00:00
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
c512277d2a raspberrypi-eeprom: 2024.07.30-2712 -> 2024.09.10-2712 2024-09-17 05:00:45 +00:00
R. Ryantm
3ab46c9f85 raspberrypi-eeprom: 2024.06.05-2712 -> 2024.07.30-2712 2024-09-05 15:42:15 +00:00
北雁 Cryolitia
b812d85e84
raspberrypi-eeprom: 2024.02.16-2712 -> 2024.06.05-2712 2024-06-15 04:32:57 +08:00
Luflosi
ace6159671
raspberrypi-eeprom: 2024.01.05-2712 -> 2024.02.16-271
https://github.com/raspberrypi/rpi-eeprom/releases/tag/v2024.02.16-2712
2024-02-26 17:10:40 +01:00
Luflosi
4373622765
raspberrypi-eeprom: 2023.12.06-2712 -> 2024.01.05-2712
https://github.com/raspberrypi/rpi-eeprom/releases/tag/v.2024.01.05-2712
2024-01-23 19:23:18 +01:00
Luflosi
9845925e52
raspberrypi-eeprom: 2023.10.30-2712 -> 2023.12.06-2712
https://github.com/raspberrypi/rpi-eeprom/releases/tag/v2023.12.06-2712
2023-12-12 15:57:52 +01:00
Luflosi
7e8102be93
raspberrypi-eeprom: cleanup
- Move each function argument into its own line for better git diffs in the future
- Use `finalAttrs` instead of `rec`
2023-12-12 15:57:10 +01:00
Luflosi
13c8727ad8
raspberrypi-eeprom: migrate to by-name 2023-12-12 15:56:46 +01:00