Commit Graph

9 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
Cosima Neidahl
27285241da
box64: 0.2.8 -> 0.3.0 (#326034) 2024-08-27 16:34:12 +02:00
Sachi King
fc62a67397 rkbin: Include license in docs
The license was not being included with the output.  Include the license
for good measure.
2024-08-07 15:22:00 +10:00
Sachi King
29baf5ff29 rkbin: Update license to unfreeRedistributableFirmware
rkbin packages the firmware required for initialisation of rockchip
SoC's.  There is a minor difference between unfreeRedistributable and
unfreeRedistributableFirmware, in that nixpkgs considers the firmware
variant "free" to allow it to be used to build images and channel
releases.

This change will allow uboot to be built and cached for rockchip devices.
2024-08-07 12:28:55 +10:00
Weijia Wang
cae9a627ca rkboot: switch to qemu-x86_64 2024-07-16 12:13:35 +02:00
matthewcroughan
27843dd410 rkbin: set platforms to lib.platforms.all 2024-04-20 20:55:36 +01:00
matthewcroughan
8463dad6c8 rkboot: init 2024-04-20 20:55:35 +01:00
K900
8502a2a6b5 rkbin: make passthru attributes use full paths, fix license, fix BL31_RK3568 path 2024-03-22 08:46:57 +03:00
Pratham Patel
fbc6f1e6f2 rkbin: init at unstable-2024.02.22 2024-03-22 08:08:06 +03:00