diff options
| author | Maximilian Bosch <maximilian@mbosch.me> | 2023-09-28 19:25:28 +0200 |
|---|---|---|
| committer | Maximilian Bosch <maximilian@mbosch.me> | 2023-10-04 18:37:00 +0200 |
| commit | c8f5c30c37e60d2c96c525d9df0917f852e7f5ad (patch) | |
| tree | 37dba2fb6c94a3298fff43532f48ed7d3b322dec /pkgs/development/python-modules/httpserver | |
| parent | 8bc5104a6e6a6acf09f9d7ddf1c6a9293efb405a (diff) | |
pkgs/build-support: refactor drvs using `__structuredAttrs = true`
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.
Diffstat (limited to 'pkgs/development/python-modules/httpserver')
0 files changed, 0 insertions, 0 deletions
