nixpkgs/pkgs
sternenseemann 1a29857b8a stdenv/setup.sh: deal with Nix < 2.4 structured attrs
Nix does not (as far it is documented) guarantee that NIX_ATTRS_*_FILE
is set, the only [documented] guarantee seems to be:

> […] made available to the builder via the file .attrs.json in the
> builder’s temporary directory.

This guarantee is of course affected by https://github.com/NixOS/nix/issues/6736,
so it seems to be prudent to fall back to the Nix 2.3 style ATTRS_*_FILE
env vars before defaulting to the expected location in case neither is
available.

See also:

- https://github.com/NixOS/nixpkgs/pull/214937#discussion_r1178101895
- https://github.com/nixos/nixpkgs/commit/afef6588e250

[documented]: https://nixos.org/manual/nix/stable/language/advanced-attributes.html#adv-attr-structuredAttrs
2023-05-29 23:12:24 +02:00
..
applications Merge pull request #234824 from r-ryantm/auto-update/glooctl 2023-05-29 13:59:15 -04:00
build-support Merge pull request #234454 from figsoda/bin 2023-05-29 11:47:11 -04:00
common-updater
data v2ray-geoip: 202305180042 -> 202305250042 2023-05-28 05:23:38 +00:00
desktops Merge pull request #233858: gnomeExtensions: auto-update 2023-05-28 19:32:06 +02:00
development Merge pull request #234785 from wegank/gl2ps-mesa 2023-05-29 18:47:29 +03:00
games BeatSaberModManager: suffix PATH with xdg-utils rather than prefix 2023-05-29 17:01:31 +00:00
misc Merge pull request #234570 from r-ryantm/auto-update/pacemaker 2023-05-29 00:59:21 +03:00
os-specific Merge pull request #234758 from JesusMtnezForks/raycast 2023-05-29 12:19:27 -04:00
pkgs-lib
servers Merge pull request #234756 from r-ryantm/auto-update/pomerium 2023-05-29 18:34:11 +01:00
shells zsh-autocomplete: 23.05.02 -> 23.05.24 2023-05-27 17:08:16 +00:00
stdenv stdenv/setup.sh: deal with Nix < 2.4 structured attrs 2023-05-29 23:12:24 +02:00
test texlive.combine: move repstopdf test to tests.texlive (#231742) 2023-05-14 11:05:22 -04:00
tools Merge pull request #234679 from Janik-Haag/labctl 2023-05-29 11:32:35 -04:00
top-level Merge pull request #234679 from Janik-Haag/labctl 2023-05-29 11:32:35 -04:00