Commit Graph

7 Commits

Author SHA1 Message Date
Fernando Rodrigues
e3b83d4525
xen: fix IPXE sourcing
`xl` needs a full path to the efirom executable.
This does not fix the qemu-dm issue. A stubdom is still required.

Reported-by: HeHongbo <hehongbo@mail.com>
Signed-off-by: Fernando Rodrigues <alpha@sigmasquadron.net>
2024-11-12 21:52:03 +00:00
R. Ryantm
202fa19245 ipxe: 1.21.1-unstable-2024-09-13 -> 1.21.1-unstable-2024-09-27 2024-09-27 17:06:49 +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
Fernando Rodrigues
345f1f93c2
ipxe: 1.12.1-unstable-2024-08-15 -> 1.21.1-unstable-2024-09-13
Signed-off-by: Fernando Rodrigues <alpha@sigmasquadron.net>
2024-09-13 20:10:13 +00:00
Fernando Rodrigues
01770b4374
ipxe: modernise
Signed-off-by: Fernando Rodrigues <alpha@sigmasquadron.net>
2024-09-13 20:04:19 +00:00
Fernando Rodrigues
0ed7e74523
ipxe: format with nixfmt-rfc-style
Signed-off-by: Fernando Rodrigues <alpha@sigmasquadron.net>
2024-09-13 19:50:46 +00:00
Fernando Rodrigues
d09dbe2d7f
ipxe: move to by-name
Signed-off-by: Fernando Rodrigues <alpha@sigmasquadron.net>
2024-09-13 19:50:25 +00:00