diff options
| author | Matt Sturgeon <matt@sturgeon.me.uk> | 2025-01-06 01:47:09 +0000 |
|---|---|---|
| committer | Matt Sturgeon <matt@sturgeon.me.uk> | 2025-01-08 19:19:52 +0000 |
| commit | 40a6c466fcb8eec9a95b523557176d61127735b8 (patch) | |
| tree | 3af98cd09a16ec52c44a2467038ea0c7149cffa3 /pkgs/development/python-modules/rangehttpserver | |
| parent | ecd810c4cc90890229ef353a12fb384c47ee75c3 (diff) | |
testers.testBuildFailure: fix structuredAttrs support
Fixes `testers.testBuildFailure` compatibility with `__structuredAttrs`.
The two main issues are, when `structuredAttrs` is enabled:
- `$__structuredAttrs` is not set
- `$outputs` is not set
`$__structuredAttrs` not being set is fixed by checking for
`$NIX_ATTRS_SH_FILE`, as per pkgs/stdenv/generic/setup.sh
`$outputs` not being set is fixed by sourcing `$NIX_ATTRS_SH_FILE`,
as-per pkgs/stdenv/generic/default-builder.sh
Diffstat (limited to 'pkgs/development/python-modules/rangehttpserver')
0 files changed, 0 insertions, 0 deletions
