From 1270ef59e9aa2a2161c1e84779687a2c7a10c815 Mon Sep 17 00:00:00 2001 From: Artturin Date: Sun, 1 Oct 2023 02:42:49 +0300 Subject: bootstrap-tools-cross: Rename bootstrap file jobs to be more descriptive Rename files in `bootstrap-files/` to match jobs in `make-bootstrap-tools-cross`. Should make automating the bootstrap files easier. ```nix $ nix repl --file ./pkgs/top-level/release-cross.nix nix-repl> bootstrapTools { aarch64-unknown-linux-gnu = { ... }; aarch64-unknown-linux-musl = { ... }; armv5tel-unknown-linux-gnueabi = { ... }; armv6l-unknown-linux-gnueabihf = { ... }; armv6l-unknown-linux-musleabihf = { ... }; armv7l-unknown-linux-gnueabihf = { ... }; mips64el-unknown-linux-gnuabi64 = {... }; mips64el-unknown-linux-gnuabin32 = { ... }; mipsel-unknown-linux-gnu = { ... }; powerpc64le-unknown-linux-gnu = { ... }; riscv64-unknown-linux-gnu = { ... }; x86_64-unknown-linux-musl = { ... }; } ``` Additionally if non-linux bootstrap files are added to `make-bootstrap-tools-cross` then there won't be any renaming needed. --- .../bootstrap-files/armv6l-unknown-linux-gnueabihf.nix | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 pkgs/stdenv/linux/bootstrap-files/armv6l-unknown-linux-gnueabihf.nix (limited to 'pkgs/stdenv/linux/bootstrap-files/armv6l-unknown-linux-gnueabihf.nix') diff --git a/pkgs/stdenv/linux/bootstrap-files/armv6l-unknown-linux-gnueabihf.nix b/pkgs/stdenv/linux/bootstrap-files/armv6l-unknown-linux-gnueabihf.nix new file mode 100644 index 00000000000..8bc99c64c68 --- /dev/null +++ b/pkgs/stdenv/linux/bootstrap-files/armv6l-unknown-linux-gnueabihf.nix @@ -0,0 +1,18 @@ +{ + # Note: do not use Hydra as a source URL. Ask a member of the + # infrastructure team to mirror the job. + busybox = import { + # from job: https://hydra.nixos.org/job/nixpkgs/cross-trunk/bootstrapTools.armv6l.dist/latest + # from build: https://hydra.nixos.org/build/114202834 + url = "http://tarballs.nixos.org/stdenv-linux/armv6l/0eb0ddc4dbe3cd5415c6b6e657538eb809fc3778/busybox"; + # note: the following hash is different than the above hash, due to executable = true + sha256 = "1q02537cq56wlaxbz3s3kj5vmh6jbm27jhvga6b4m4jycz5sxxp6"; + executable = true; + }; + bootstrapTools = import { + # from job: https://hydra.nixos.org/job/nixpkgs/cross-trunk/bootstrapTools.armv6l.dist/latest + # from build: https://hydra.nixos.org/build/114202834 + url = "http://tarballs.nixos.org/stdenv-linux/armv6l/0eb0ddc4dbe3cd5415c6b6e657538eb809fc3778/bootstrap-tools.tar.xz"; + sha256 = "0810fe74f8cd09831f177d075bd451a66b71278d3cc8db55b07c5e38ef3fbf3f"; + }; +} -- cgit 1.4.1