pkgs/stdenv/linux: add powerpc64-unknown-linux-gnuabielfv1 bootstrap-files (#423133)

This commit is contained in:
Jörg Thalheim
2025-09-08 14:13:03 +02:00
committed by GitHub
3 changed files with 28 additions and 1 deletions

View File

@@ -92,6 +92,7 @@ CROSS_TARGETS=(
mips64el-unknown-linux-gnuabi64
mips64el-unknown-linux-gnuabin32
mipsel-unknown-linux-gnu
powerpc64-unknown-linux-gnuabielfv1
powerpc64-unknown-linux-gnuabielfv2
powerpc64le-unknown-linux-gnu
riscv64-unknown-linux-gnu

View File

@@ -0,0 +1,21 @@
# Autogenerated by maintainers/scripts/bootstrap-files/refresh-tarballs.bash as:
# $ ./refresh-tarballs.bash --targets=powerpc64-unknown-linux-gnuabielfv1
#
# Metadata:
# - nixpkgs revision: 2ba17da62f2813a5b779ec2b13abe96baec8ea08
# - hydra build: https://hydra.nixos.org/job/nixpkgs/cross-trunk/bootstrapTools.powerpc64-unknown-linux-gnuabielfv1.build/latest
# - resolved hydra build: https://hydra.nixos.org/build/301750343
# - instantiated derivation: /nix/store/4djsi9i5fc3nc7qzf4gjljn4zzjiy226-stdenv-bootstrap-tools-powerpc64-unknown-linux-gnuabielfv1.drv
# - output directory: /nix/store/b8zndw2p8f82hn23a3ilkmfc6v26yian-stdenv-bootstrap-tools-powerpc64-unknown-linux-gnuabielfv1
# - build time: Fri, 04 Jul 2025 13:37:14 +0000
{
bootstrapTools = import <nix/fetchurl.nix> {
url = "http://tarballs.nixos.org/stdenv/powerpc64-unknown-linux-gnuabielfv1/2ba17da62f2813a5b779ec2b13abe96baec8ea08/bootstrap-tools.tar.xz";
hash = "sha256-OnjFUMRNFmGu0EFSM99loZ03Bx6htCyTiftCBO1enQM=";
};
busybox = import <nix/fetchurl.nix> {
url = "http://tarballs.nixos.org/stdenv/powerpc64-unknown-linux-gnuabielfv1/2ba17da62f2813a5b779ec2b13abe96baec8ea08/busybox";
hash = "sha256-f5U+O8oHTAfJpukjz+YmIf8QQVuMoh+kKhOw5Zf5QJY=";
executable = true;
};
}

View File

@@ -78,7 +78,12 @@
else
./bootstrap-files/mips64el-unknown-linux-gnuabi64.nix
);
powerpc64-linux = import ./bootstrap-files/powerpc64-unknown-linux-gnuabielfv2.nix;
powerpc64-linux = import (
if localSystem.isAbiElfv2 then
./bootstrap-files/powerpc64-unknown-linux-gnuabielfv2.nix
else
./bootstrap-files/powerpc64-unknown-linux-gnuabielfv1.nix
);
powerpc64le-linux = import ./bootstrap-files/powerpc64le-unknown-linux-gnu.nix;
riscv64-linux = import ./bootstrap-files/riscv64-unknown-linux-gnu.nix;
s390x-linux = import ./bootstrap-files/s390x-unknown-linux-gnu.nix;