Commit graph

6 commits

Author SHA1 Message Date
annalee
e3c8b84dae
maintainers/scripts/bootstrap-files: fix nar extract on linux
`<nix/fetchurl.nix>` fails importing nar files on linux due to file not
found errors. use nix-store to add the nar file to the store and get the
hash.
2024-03-22 09:10:27 +00:00
annalee
1756576c4a
maintainers/scripts/bootstrap-files: update darwin information 2024-03-22 08:41:52 +00:00
annalee
dcc63e54a4
maintainers/scripts/bootstrap-files: add darwin targets; nar downloads
- allow for fetching and expanding nar archives
- add targets for aarch64 and x86_64 darwin
2024-03-19 17:28:32 +00:00
OPNA2608
12f779bcd5 maintainers/scripts/bootstrap-files: Add powerpc64 to CROSS_TARGETS 2024-03-10 12:36:09 +01:00
Philip Taron
f83aea707a
maintainers/bootstrap-files: fix two typos in README.md 2024-02-28 08:56:49 -08:00
Sergei Trofimovich
8a256ed0a7 maintainers/scripts/bootstrap-files: documentation and a script to update tarballs
This script attempts to document the exact procedure used to upload
bootstrap binaries used previously. I modeled it after most recent
https://github.com/NixOS/nixpkgs/pull/282517 upload.

There is one deviation from it to make it easier to handle mass updates
for https://github.com/NixOS/nixpkgs/issues/253713:

The binaries are expected to be stored in `stdenv/$target` (and not
something like `stdenv-linux/i686`.

The script handles both native and cross- linux targets. `darwin` will
need a bit more work to fin into this scheme, but it should be easy.

Example run to generate `i686-linux` update:

    $ maintainers/scripts/bootstrap-files/refresh-tarballs.bash --commit --targets=i686-unknown-linux-gnu
2024-01-28 14:48:18 +00:00