summaryrefslogtreecommitdiff
path: root/pkgs/build-support/binary-cache/make-binary-cache.py
AgeCommit message (Collapse)Author
2025-03-08mkBinaryCache: add missing .nar extensionFlorian Klink
Flagged in https://github.com/NixOS/nixpkgs/pull/376365#discussion_r1976613767. This now properly restores the .nar extension.
2025-02-04mkBinaryCache: support different compression methods: xz (default), zstd, nonethomasjm
2025-01-22mkBinaryCache: process items in parallelTom McLaughlin
2024-12-21mkBinaryCache: fix FileHashesRyan Trinkle
2023-10-04pkgs/build-support: refactor drvs using `__structuredAttrs = true`Maximilian Bosch
Derivations affected by this patch set `__structuredAttrs = true;` and provide their own `builder`, i.e. it's necessary to `source .attrs.sh`. Rather than adding even more `if`-`source` monstrums, I decided to modify all of those derivations to use `buildCommand` or `runCommand`, without `builder` being set. Then, `$stdenv/setup` is sourced already and as a result it's safe to assume that `NIX_ATTRS_JSON_FILE`/`NIX_ATTRS_SH_FILE` point to a usable location both in a build and a shell session.
2023-02-07Introduce mkBinaryCache functionTom McLaughlin